Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Commit

Permalink
Add a toggle in options to show atom feed in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
kethomassen committed Sep 18, 2015
1 parent a3a119a commit 17b8069
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _data/theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ tagline: "weak opinions, strongly held"
google_analytics_key: UA-xxxx-x

# Toggle "Postings are my own" disclaimer in footer
show_disclaimer: true
show_disclaimer: true

# Toggle link/icon to view atom feed (/atom.xml) in sidebar
show_atom_feed: true
2 changes: 2 additions & 0 deletions _includes/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
</a>
{% endif %}

{% if site.data.theme.show_atom_feed %}
<a title="Atom feed" id="atom" href="/atom.xml">
<i class="fa fa-rss-square"></i>
</a>
{% endif %}
</div>

0 comments on commit 17b8069

Please sign in to comment.