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 + assets/de.png | Bin 0 -> 282 bytes 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 assets/de.png 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 -%}

    diff --git a/assets/de.png b/assets/de.png new file mode 100644 index 0000000..193738a Binary files /dev/null and b/assets/de.png differ -- cgit v1.2.3