From 094095230ba03aedd2c3046e00ae4c930e978ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Mon, 17 Aug 2020 01:42:49 +0200 Subject: [PATCH] Move explicit inline styles into the head block --- gitsrht/templates/blob.html | 4 ++- gitsrht/templates/send-email-end.html | 35 +++++++++++++++------------ gitsrht/templates/send-email.html | 11 ++++++--- 3 files changed, 29 insertions(+), 21 deletions(-) diff --git a/gitsrht/templates/blob.html b/gitsrht/templates/blob.html index 2531f72..bc92644 100644 --- a/gitsrht/templates/blob.html +++ b/gitsrht/templates/blob.html @@ -3,7 +3,7 @@ {% block title %} {{repo.owner.canonical_name}}/{{repo.name}}: {{path_join(*path)}} - {{cfg("sr.ht", "site-name")}} git {% endblock %} -{% block content %} +{% block head %} +{% endblock %} +{% block content %}
diff --git a/gitsrht/templates/send-email-end.html b/gitsrht/templates/send-email-end.html index 1eb83e4..c9fc406 100644 --- a/gitsrht/templates/send-email-end.html +++ b/gitsrht/templates/send-email-end.html @@ -3,7 +3,7 @@ {% block title %} Preparing patchset for {{repo.owner.canonical_name}}/{{repo.name}} - {{cfg("sr.ht", "site-name")}} git {% endblock %} -{% block body %} +{% block body %}
- {% endblock %} + +{% block head %} + +{% endblock %} diff --git a/gitsrht/templates/send-email.html b/gitsrht/templates/send-email.html index 10250a5..4b574ca 100644 --- a/gitsrht/templates/send-email.html +++ b/gitsrht/templates/send-email.html @@ -3,7 +3,7 @@ {% block title %} Preparing patchset for {{repo.owner.canonical_name}}/{{repo.name}} - {{cfg("sr.ht", "site-name")}} git {% endblock %} -{% block body %} +{% block body %}
{% endfor %} - - + {% endblock %} -- 2.38.4