Skip to content

Commit 635b797

Browse files
committed
Make the news layout page.lang aware.
1 parent f8e6d12 commit 635b797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/news.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h1>{{ page.title }}</h1>
2929
<h3>News Archive</h3>
3030

3131
<ul class="menu">
32-
{% for post in site.categories.news %}
32+
{% for post in site.categories[page.lang] %}
3333
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
3434
{% endfor %}
3535
</ul>

0 commit comments

Comments
 (0)