From 735180cf542a755c9c6e39297aba36751b23f289 Mon Sep 17 00:00:00 2001 From: discomrade Date: Fri, 12 Nov 2021 04:50:47 -0100 Subject: [PATCH] Improve social media cards --- templates/index.html | 12 ++++++++++++ templates/themes/categories/frames.html | 9 ++++++++- templates/thread.html | 3 +++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index e0fad639..685dc0a9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,6 +14,18 @@ {% include 'header.html' %} + + {% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup|remove_modifiers[:256]|e }}{% endif %}{% endset %} + + + + + + + + + + {{ board.url }} - {{ board.title|e }} diff --git a/templates/themes/categories/frames.html b/templates/themes/categories/frames.html index 48066bcd..291ca59f 100644 --- a/templates/themes/categories/frames.html +++ b/templates/themes/categories/frames.html @@ -1,7 +1,14 @@ - + + + + + + + +