summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authoruvok cheetah2023-10-30 17:02:03 +0100
committeruvok cheetah2023-10-30 17:02:03 +0100
commitbbd1523c2b4456ec25f98c5b3a7550ad8df1113d (patch)
tree8c82f734464449eba61e00bbe6bd4452a5bb9508 /_includes
parent2d7d7a7c18030b31717a97ffe7bf58831acccb0c (diff)
Make news an include
Diffstat (limited to '_includes')
-rw-r--r--_includes/news.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/_includes/news.html b/_includes/news.html
new file mode 100644
index 0000000..74d3971
--- /dev/null
+++ b/_includes/news.html
@@ -0,0 +1,6 @@
+{% for item in site.data.news %}
+<div id="{{ item.id }}" class="news-item" lang="{{ item.lang | default: "en" }}">
+ <a class="banner-close-button">&lbrack;&times;&rbrack;</a>
+ {{ item.content }}
+</div>
+{% endfor %}