Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Collins <thepatrickcollins@gmail.com>2017-08-16 04:17:54 +0300
committerGitHub <noreply@github.com>2017-08-16 04:17:54 +0300
commit1055ee88f1b341640c81745485d2fc8d6b22bd77 (patch)
tree9e91f595e9bcf0e1b371d87b898e69f18e7a59e9
parentc4ee4eb5cd68254f8fb1cace80cbe926c8012707 (diff)
parentceedaecd5e001c0fede166c2beccbbfe6676e9b8 (diff)
Merge pull request #6 from pacollins/rss-icon-show-option
Disable RSS Feed Icon
-rw-r--r--layouts/partials/sidebar.html4
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 }}