Skip to content

Commit 71b7cf7

Browse files
committed
Add missing RSS feed link to news page sidebar
1 parent 275f4a2 commit 71b7cf7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

_layouts/news.html

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
layout: default
33
---
44

5+
{% if site.locales.sidebar[page.lang] %}
6+
{% assign syndicate = site.locales.sidebar[page.lang].syndicate %}
7+
{% else %}
8+
{% assign syndicate = site.locales.sidebar['en'].syndicate %}
9+
{% endif %}
10+
511
<div id="content-wrapper">
612
<div id="head-wrapper-1">
713
<div id="head-wrapper-2">
@@ -40,6 +46,9 @@ <h3><strong>Archives By Year</strong></h3>
4046
{% endfor %}
4147
</ul>
4248
</div>
49+
50+
<h3>{{ syndicate.text }}</h3>
51+
<p><a href="{{ syndicate.recent_news.url }}">{{ syndicate.recent_news.text }}</a></p>
4352
</div>
4453
</div>
4554
<hr class="hidden-modern" />

0 commit comments

Comments
 (0)