Skip to content

Commit

Permalink
Closes #1936 with setting to hide RSS feed
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Mar 10, 2024
1 parent e24ceb0 commit 93a8ea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ staticman:
options:
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
atom_feed:
hide : false # change to true to hide the RSS feed in the footer
path : # blank (default) uses feed.xml


Expand Down
2 changes: 2 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
{% if site.author.bitbucket %}
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fab fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
{% endif %}
{% if site.atom_feed.hide != true %}
<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>
{% endif %}
</ul>
</div>

Expand Down

0 comments on commit 93a8ea1

Please sign in to comment.