From 30a73cfdfe78268a7c9cb37a7c1710207f73508b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 27 Apr 2018 18:19:18 +0200 Subject: start hugo site --- .gitmodules | 3 ++ config.toml | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++ themes/material-blog | 1 + 3 files changed, 105 insertions(+) create mode 100644 .gitmodules create mode 100644 config.toml create mode 160000 themes/material-blog diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a1b3e2d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/material-blog"] + path = themes/material-blog + url = https://github.com/Xzya/hugo-material-blog.git diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..c2b06d1 --- /dev/null +++ b/config.toml @@ -0,0 +1,101 @@ +baseURL = "https://najera.pw/" +languageCode = "en-us" +title = "Najera website" + +# Pagination +paginate = 3 +paginatePath = "page" + +# Theme to use +theme = "material-blog" + +# Copyright, appears in the footer +copyright = "© 2014 Copyright Text" + +# Links format +[permalinks] + post = "/:year/:month/:title/" + +# Localization +defaultContentLanguage = "en" + +# English +[languages.en] + languageName = "English" + + # Main menu + [[languages.en.menu.main]] + url = "/" + name = "Home" + weight = 1 + + # Footer menu 1 + [[languages.en.menu.footer1]] + url = "#" + name = "Service 1" + weight = 1 + [[languages.en.menu.footer1]] + url = "#" + name = "Service 2" + weight = 2 + + # Footer menu 2 + [[languages.en.menu.footer2]] + url = "/" + name = "Home" + weight = 1 + [[languages.en.menu.footer2]] + url = "/about/" + name = "About" + weight = 2 + + # Include menus in footer + [[languages.en.params.footer_menus]] + name = "Services" + menu = "footer2" + [[languages.en.params.footer_menus]] + name = "Links" + menu = "footer1" + +# French +[languages.es] + languageName = "Español" + + # Main menu + [[languages.es.menu.main]] + url = "/es/" + name = "Nosotros" + weight = 1 + + # Footer menu 1 + [[languages.es.menu.footer1]] + url = "#" + name = "Service 1" + weight = 1 + [[languages.es.menu.footer1]] + url = "#" + name = "Service 2" + weight = 2 + + # Footer menu 2 + [[languages.es.menu.footer2]] + url = "/es/" + name = "Accueil" + weight = 1 + [[languages.es.menu.footer2]] + url = "/about/" + name = "Sur" + weight = 2 + + # Include menus in footer + [[languages.es.params.footer_menus]] + name = "Services" + menu = "footer2" + [[languages.es.params.footer_menus]] + name = "Links" + menu = "footer1" + +# Other params +[params] + # Display post summaries instead of content in list templates (default: true) + # truncate = false \ No newline at end of file diff --git a/themes/material-blog b/themes/material-blog new file mode 160000 index 0000000..5977f21 --- /dev/null +++ b/themes/material-blog @@ -0,0 +1 @@ +Subproject commit 5977f210e8fefa5dac2652ddd1553bbe488875ca -- cgit v1.2.3