diff options
author | Patrick Collins <thepatrickcollins@gmail.com> | 2017-08-16 04:17:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 04:17:54 +0300 |
commit | 1055ee88f1b341640c81745485d2fc8d6b22bd77 (patch) | |
tree | 9e91f595e9bcf0e1b371d87b898e69f18e7a59e9 | |
parent | c4ee4eb5cd68254f8fb1cace80cbe926c8012707 (diff) | |
parent | ceedaecd5e001c0fede166c2beccbbfe6676e9b8 (diff) |
Merge pull request #6 from pacollins/rss-icon-show-option
Disable RSS Feed Icon
-rw-r--r-- | layouts/partials/sidebar.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 10e5bb1..1d50d86 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -20,7 +20,7 @@ </header> {{ end }} <ul class="icons"> - {{ if .RSSLink }} + {{ if and (.RSSLink) (.Site.Params.rssAppearAtTop) }} <li><a href="{{ .RSSLink }}" type="application/rss+xml" target="_blank" title="RSS" class="fa fa-rss"></a></li> {{ end }} @@ -119,7 +119,7 @@ <!-- Footer --> <section id="footer"> <ul class="icons"> - {{ if .RSSLink }} + {{ if and (.RSSLink) (.Site.Params.rssAppearAtBottom) }} <li><a href="{{ .RSSLink }}" type="application/rss+xml" target="_blank" title="RSS" class="fa fa-rss"></a></li> {{ end }} |