Add external atom feed URL config possibility

This commit is contained in:
Gabor Meszaros 2016-07-26 15:13:38 +02:00
parent 51b6c6ed59
commit 5a2d54f64f
2 changed files with 3 additions and 1 deletions

View file

@ -28,6 +28,8 @@ comments:
appid :
num_posts : # 5 (default)
colorscheme : # "light" (default), "dark"
atom_feed:
path : # blank (default) uses feed.xml
# SEO Related
google_site_verification :

View file

@ -17,7 +17,7 @@
{% if site.author.bitbucket %}
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
{% endif %}
<li><a href="{{ base_path }}/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label }}</a></li>
<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 }}</a></li>
</ul>
</div>