From 0a0fb78a4780606ffa4c272ad296fd145583bbac Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Mon, 6 Jan 2025 16:24:23 +0800 Subject: [PATCH] Fix links and nested p tags Signed-off-by: Egor Savkin --- templates/404.html | 4 ++-- templates/_base.html | 14 +++++++------- templates/publications.html | 2 +- templates/shortcodes/layout_funding.html | 18 +++++++++--------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/templates/404.html b/templates/404.html index 16aac07..a1bce58 100644 --- a/templates/404.html +++ b/templates/404.html @@ -85,7 +85,7 @@ @@ -93,7 +93,7 @@ {% elif subsection.title != 'Other' %} {% endif %} diff --git a/templates/_base.html b/templates/_base.html index d8f08e5..5fd96d4 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -17,7 +17,7 @@ {% endblock %} - + {% block meta %}{% endblock meta %} @@ -42,9 +42,9 @@ - - - + + + {% block links %}{% endblock %} @@ -93,11 +93,11 @@ @@ -106,7 +106,7 @@ {% elif subsection.title != 'Other' %} {% endif %} diff --git a/templates/publications.html b/templates/publications.html index bf21f41..d61e088 100644 --- a/templates/publications.html +++ b/templates/publications.html @@ -33,7 +33,7 @@ @@ -33,17 +33,17 @@ {% if title %}
{{ title | markdown | safe }}
{% endif %} {% if icon %} - {{ icon }} {% endif %} -

{{ body | markdown | safe }}

+
{{ body | markdown | safe }}
{% if logo %} - {% if logo_link %}{% endif %} - {{ logo_alt }} + {% if logo_link %}{% endif %} + {{ logo_alt }} {% if logo_link %}{% endif %} {% endif %}
@@ -57,7 +57,7 @@
{% if title %}

{{ title | markdown | safe }}

{% endif %} -

{{ body | markdown | safe }}

+
{{ body | markdown | safe }}