Skip to content

Commit e42ce8b

Browse files
committed
Add RSS subscribe link to publications page
Also only show it on the English version, since we don't have non-English RSS feeds.
1 parent 991e6a7 commit e42ce8b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_layouts/blog.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ layout: default
3838
{%- endfor -%}
3939
</ul>
4040

41-
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
42-
41+
{%- if page.lang == "en" -%}
42+
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
43+
{%- endif -%}

_layouts/publications.md

+3
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ layout: default
3838
{%- endfor -%}
3939
</ul>
4040

41+
{%- if page.lang == "en" -%}
42+
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
43+
{%- endif -%}

0 commit comments

Comments
 (0)