diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | config.toml | 101 | ||||
m--------- | themes/material-blog | 0 |
3 files changed, 104 insertions, 0 deletions
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 +Subproject 5977f210e8fefa5dac2652ddd1553bbe488875c |