breaking change: rss feed only generated if rss-description config exists; rss icon only shows if social-network-links.rss is true; closes #814

This commit is contained in:
Dean Attali 2021-10-10 07:12:58 +00:00
parent ffb27515fe
commit d0928cb455
4 changed files with 7 additions and 3 deletions

View file

@ -39,7 +39,9 @@
<meta name="keywords" content="{{ site.keywords }}">
{% endif %}
{% if site.rss-description %}
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ '/feed.xml' | absolute_url }}">
{% endif %}
{% include gtag.html %}
{% include gtm_head.html %}

View file

@ -1,6 +1,6 @@
<ul class="list-inline text-center footer-links">
{%- if site.rss-description -%}
{%- if site.social-network-links.rss and site.rss-description -%}
<li class="list-inline-item">
<a href="{{ '/feed.xml' | relative_url }}" title="RSS">
<span class="fa-stack fa-lg" aria-hidden="true">