~xdavidwu/xdavidwu.link

fa11acd667bbff9de36d3bdc1cf538a420f9096d — Gabor Meszaros 8 years ago 389572d
Add external atom feed URL config possibility
2 files changed, 3 insertions(+), 1 deletions(-)

M _config.yml
M _includes/footer.html
M _config.yml => _config.yml +2 -0
@@ 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 :

M _includes/footer.html => _includes/footer.html +1 -1
@@ 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>