From 77bec1d4870dbabbfc5892335e960f0df112363a Mon Sep 17 00:00:00 2001 From: Ncam Gnrvngu Date: Wed, 17 Sep 2025 22:03:39 +0200 Subject: [PATCH] OpenGraph compatibility --- content/project/pixel-pride/index.md | 2 ++ templates/post.html | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/content/project/pixel-pride/index.md b/content/project/pixel-pride/index.md index f0e571e..add71c7 100644 --- a/content/project/pixel-pride/index.md +++ b/content/project/pixel-pride/index.md @@ -1,6 +1,8 @@ +++ title = "Pixel Art Prideflags" date = "2025-09-15" +[extra] +image = "sticker-box.png" +++ As you can maybe guess from my magnificent profile picture I really like pride flags. I also really like pixel art. So why not throw these two together, gently stir and create some beautiful images in different resolutions (12, 30 and 42 pixels high) for you and me to use and enjoy. diff --git a/templates/post.html b/templates/post.html index 8d3305e..9f0dd04 100644 --- a/templates/post.html +++ b/templates/post.html @@ -15,6 +15,21 @@ {% if config.extra.mastodon_user %} - + +{% endif %} + + + +{% if page.updated %} + +{% endif %} +{% if page.authors[0] %} + +{% elif config.author %} + +{% endif %} + +{% if page.extra.image %} + {% endif %} {% endblock content %}