diff --git a/config.yml b/config.yml index fbca78e..5923ee6 100644 --- a/config.yml +++ b/config.yml @@ -8,7 +8,10 @@ params: AuthorName: "Marvin Preuss" mainSections: - "posts" - links: + locallinks: + - search + - impressum + sociallinks: github: https://github.com/xsteadfastx/ twitter: https://twitter.com/xsteadfastx mastodon: https://chaos.social/@xsteadfastx @@ -20,6 +23,7 @@ params: theme: "xsfx" permalinks: posts: "/:year/:month/:day/:slug/" + notes: "/notes/:slug" markup: goldmark: renderer: diff --git a/content/pages/impressum.md b/content/impressum/index.md similarity index 100% rename from content/pages/impressum.md rename to content/impressum/index.md diff --git a/content/pages/search.md b/content/search/index.md similarity index 100% rename from content/pages/search.md rename to content/search/index.md diff --git a/themes/xsfx/layouts/_default/search.html b/themes/xsfx/layouts/_default/search.html index ba19b97..f559f2e 100644 --- a/themes/xsfx/layouts/_default/search.html +++ b/themes/xsfx/layouts/_default/search.html @@ -7,7 +7,7 @@
-
+
diff --git a/themes/xsfx/layouts/partials/footer.html b/themes/xsfx/layouts/partials/footer.html index 46651cc..e4889ef 100644 --- a/themes/xsfx/layouts/partials/footer.html +++ b/themes/xsfx/layouts/partials/footer.html @@ -2,10 +2,10 @@
- {{ range where .Site.RegularPages "Type" "pages"}} - + {{ range $page := .Site.Params.locallinks }} + {{ end }} - {{ range $name, $url := .Site.Params.links}} + {{ range $name, $url := .Site.Params.sociallinks}} {{ end }}