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:
parent
ffb27515fe
commit
d0928cb455
4 changed files with 7 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue