From 4bb0f40cd1cc544350b6d85787554607ad5cd85d Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 24 Apr 2024 17:00:55 +0200 Subject: [PATCH 1/2] index.html: trim --- templates/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/index.html b/templates/index.html index 118ddbccb..e0fad639e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -18,10 +18,10 @@ {{ boardlist.top }} - + {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} {% if config.url_banner %}{% endif %} - +

{{ board.url }} - {{ board.title|e }}

@@ -54,7 +54,7 @@

{{ board.url }} - {{ board.title|e }}

{{ btn.next }}
{% endif %} - + {% if config.global_message %}
{{ config.global_message }}
{% endif %}
{% if config.board_search %} @@ -74,7 +74,7 @@

{{ board.url }} - {{ board.title|e }}

{{ body }} {% include 'report_delete.html' %} - +
{{ btn.prev }} {% for page in pages %} [{{ page.num }}]{% if loop.last %} {% endif %} @@ -83,7 +83,7 @@

{{ board.url }} - {{ board.title|e }}

| {% trans %}Catalog{% endtrans %} {% endif %}
- + {{ boardlist.bottom }} {{ config.ad.bottom }} @@ -92,6 +92,6 @@

{{ board.url }} - {{ board.title|e }}

- + From 735180cf542a755c9c6e39297aba36751b23f289 Mon Sep 17 00:00:00 2001 From: discomrade Date: Fri, 12 Nov 2021 04:50:47 -0100 Subject: [PATCH 2/2] 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 e0fad639e..685dc0a9a 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 48066bcd9..291ca59f0 100644 --- a/templates/themes/categories/frames.html +++ b/templates/themes/categories/frames.html @@ -1,7 +1,14 @@ - + + + + + + + +