From 15794ae6897e6f64679901ed703c74c1d3485c39 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Tue, 10 Dec 2024 18:41:09 +0100 Subject: Add German flag / marking --- _layouts/home.html | 4 +++- _layouts/postlist.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to '_layouts') diff --git a/_layouts/home.html b/_layouts/home.html index 675c4da..f5ed43d 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -15,7 +15,9 @@ layout: default {%- for post in site.posts -%}
  • {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} - {{ post.date | date: date_format }} + {{ post.date | date: date_format }} + {%- if post.lang == 'de' %} german flag{%- endif -%} +

    diff --git a/_layouts/postlist.html b/_layouts/postlist.html index 9e679a7..67a1d48 100644 --- a/_layouts/postlist.html +++ b/_layouts/postlist.html @@ -26,6 +26,7 @@ layout: default
  • {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} + {%- if post.lang == 'de' %} german flag{%- endif -%}

    -- cgit v1.2.3