diff --git a/_config.yml b/_config.yml index 57130baa..bd2e2f08 100644 --- a/_config.yml +++ b/_config.yml @@ -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 : diff --git a/_includes/footer.html b/_includes/footer.html index 466526dd..a0ffe60e 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -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>