diff --git a/README.md b/README.md index b367010..de5dd24 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,13 @@ SOCIAL = (('twitter', 'https://twitter.com/myprofile'), If you have new links add them to SOCIAL. The Name has to be the name of the corresponding FontAwesome icon. +### External feed URL + +You can specify an external feed URL (e.g. FeedBurner) in ``SOCIAL`` using the +``rss`` or ``rss-square`` icons. The icon will be shown in the footer with the +rest of your ``SOCIAL`` accounts. A tag for the external feed will be +placed in instead of the default Pelican feeds. + ### Code highlights This theme contains this color schemes: diff --git a/templates/base.html b/templates/base.html index 0c4c777..df0301e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,6 +15,9 @@ {% block title %}{{ SITENAME }}{% if SITESUBTITLE and SHOW_SITESUBTITLE_IN_HTML %} - {{ SITESUBTITLE }}{% endif %}{% endblock title %} + {% for name,link in SOCIAL if name in ['rss', 'rss-square'] %} + + {% else %} {% if FEED_ALL_ATOM %} {% endif %} @@ -39,7 +42,7 @@ {% if TAG_FEED_RSS and tag %} {% endif %} - + {% endfor %}