From 4235922e5f184a926d53547f5e971ddb64900bf3 Mon Sep 17 00:00:00 2001 From: Damien Caselli Date: Sun, 23 Jul 2017 12:09:41 +0200 Subject: Remove SocialLinks param --- README.md | 4 ---- layouts/partials/nav.html | 14 +++++--------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c0cfcfd..a43619c 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,6 @@ Tagline = "Hello, world!" # default: 10 HomepagePosts = 3 -# if set to true, social links will be displayed in the footer -# default: undefined -SocialLinks = true - # default: undefined GithubUsername = "damiencaselli" diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 58e57a1..68b9571 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -2,16 +2,12 @@ Home All posts - {{ if eq .Site.Params.SocialLinks true -}} - - {{ if isset .Site.Params "TwitterUsername" -}} - Twitter - {{- end }} - - {{ if isset .Site.Params "GithubUsername" -}} - GitHub - {{- end }} + {{ if isset .Site.Params "TwitterUsername" -}} + Twitter + {{- end }} + {{ if isset .Site.Params "GithubUsername" -}} + GitHub {{- end }} -- cgit v1.2.3