From 231271f10d69112e6af0763a64150001cd8eb967 Mon Sep 17 00:00:00 2001 From: Carlos Wu Date: Wed, 5 Jun 2024 18:12:46 +0100 Subject: [PATCH] Fix image stretching text (#13910) * Update ROCKS to rocks * Remove the culprit that caused text to stretch whe image size changes --- templates/engage/base.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/engage/base.html b/templates/engage/base.html index aede8c633fc..a3786745157 100644 --- a/templates/engage/base.html +++ b/templates/engage/base.html @@ -3,9 +3,9 @@ {% set section_title="Engage Page" %} {% set section_path="/engage" %} -{% block title %}{{metadata['topic_name']}}{% endblock %} -{% block meta_description %}{{metadata['subtitle']}}{% endblock %} -{% block meta_image %}{{metadata['meta_image']}}{% endblock %} +{% block title %}{{ metadata['topic_name'] }}{% endblock %} +{% block meta_description %}{{ metadata['subtitle'] }}{% endblock %} +{% block meta_image %}{{ metadata['meta_image'] }}{% endblock %} {% block head_extra %} {% if 'active' in metadata and metadata['active'] == "false" %} @@ -22,9 +22,9 @@ {% block content %} -{{metadata["publish_date"]}} -{{metadata["created_at"]}} -
+{{ metadata["publish_date"] }} +{{ metadata["created_at"] }} +
-
+

{{ metadata["topic_name"] }}

{{ metadata['subtitle'] }} @@ -73,7 +73,7 @@

{{ metadata["topic_name"] }}

{% if metadata["image"] != '' %}
- +
{% endif %}