From 60d9c5d7d6b72202031ac2cf27527742e93f0e3e Mon Sep 17 00:00:00 2001 From: Dylan Thomas Date: Mon, 21 Sep 2020 11:36:29 -0500 Subject: make rss icon display configurable (#83) --- exampleSite/config.yml | 1 + layouts/partials/header.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.yml b/exampleSite/config.yml index 658b49d..8fcfc34 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -49,6 +49,7 @@ params: email: XXX@example.com opengraph: true shareTwitter: true + rss: true shareFacebook: true shareGooglePlus: true shareLinkedIn: false diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fc00b7a..6db2e65 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -38,7 +38,9 @@ {{ .Site.Title }} {{ end }} - + {{ if .Site.Params.rss }} + + {{ end }} {{ with .Site.Params.twitter }} -- cgit v1.2.3