Skip to content

Commit 93a8ea1

Browse files
committed
Closes #1936 with setting to hide RSS feed
1 parent e24ceb0 commit 93a8ea1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ staticman:
107107
options:
108108
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
109109
atom_feed:
110+
hide : false # change to true to hide the RSS feed in the footer
110111
path : # blank (default) uses feed.xml
111112

112113

_includes/footer.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
{% if site.author.bitbucket %}
1818
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fab fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
1919
{% endif %}
20+
{% if site.atom_feed.hide != true %}
2021
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
22+
{% endif %}
2123
</ul>
2224
</div>
2325

0 commit comments

Comments
 (0)