summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2023-10-30 16:59:15 +0100
committeruvok cheetah2023-10-30 16:59:15 +0100
commitc965d3149284fa260ec5861aa3e7ec32a76cd823 (patch)
tree50ee8fbbb9b983debaa4d979b424c5bfd2cd3736
parentbfbca33f44646ade1816461011336ccbdb075ee6 (diff)
Include language tag in news
-rw-r--r--_layouts/postlist.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/postlist.html b/_layouts/postlist.html
index 0143919..ad70c56 100644
--- a/_layouts/postlist.html
+++ b/_layouts/postlist.html
@@ -4,7 +4,7 @@ layout: default
<div class="home">
{% for item in site.data.news %}
- <div id="{{ item.id }}" class="news-item">
+ <div id="{{ item.id }}" class="news-item" lang="{{ item.lang | default: "en" }}">
<a class="banner-close-button">&lbrack;&times;&rbrack;</a>
{{ item.content }}
</div>