From 760227aaa2ab05f8f16cb2e58e3a32d6f26f273a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 20 Jul 2024 23:29:20 +0200 Subject: [PATCH] note mature content on post list --- _includes/post.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_includes/post.html b/_includes/post.html index 2407e8f..181c493 100644 --- a/_includes/post.html +++ b/_includes/post.html @@ -2,6 +2,12 @@
{{ include.post.tags | join: ", " }}
{{ include.post.date | date_to_string }}

{{ include.post.title }}

-
{{ include.post.description }}
+
+ {{ include.post.description }} + + {% if include.post.mature %} +

⚠️ This post contains mature content.

+ {% endif %} +