From e8e96b0f69930876e94518e8aec9947b9308fa37 Mon Sep 17 00:00:00 2001 From: Djordje Atlialp Date: Mon, 25 Feb 2019 23:27:44 +0100 Subject: [PATCH] Remove [menu.footer] --- README.md | 10 ---------- exampleSite/config.toml | 5 ----- layouts/partials/footer.html | 3 --- 3 files changed, 18 deletions(-) diff --git a/README.md b/README.md index 95b7ae2..9cdc513 100644 --- a/README.md +++ b/README.md @@ -115,16 +115,6 @@ theme = "hello-friend-ng" identifier = "blog" name = "Blog" url = "/posts" - - # Also, there is a option to create extra menu points for the footer - [[menu.footer]] - identifier = "imprint" - name = "Imprint" - url = "/imprint" - [[menu.footer]] - identifier = "privacy" - name = "Data Privacy" - url = "/privacy" ``` diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e5ff42d..1ff142c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -111,8 +111,3 @@ disableHugoGeneratorInject = false identifier = "posts" name = "Posts" url = "posts/" - - [[menu.footer]] - identifier = "about-in-footer" - name = "About in Footer" - url = "about-in-footer/" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8b00857..29c4cfd 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,9 +6,6 @@ {{ .Site.Author.name }} {{ end }} {{ .Site.Copyright| safeHTML }} - {{ range .Site.Menus.footer }} - {{ .Name }} - {{ end }} {{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} {{ end }}