From 1cb215828f193ec4bac25f4dabb08c9aadc34ede Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 14 Sep 2024 21:05:44 +0100 Subject: Changed the colour of the card description test - Uses my own CSS class - technical stuff --- pyblackbird_cc/templates/resources/resource_card_featured.html | 4 +++- pyblackbird_cc/templates/resources/resource_card_standard.html | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'pyblackbird_cc/templates') diff --git a/pyblackbird_cc/templates/resources/resource_card_featured.html b/pyblackbird_cc/templates/resources/resource_card_featured.html index 586a851..79ae205 100644 --- a/pyblackbird_cc/templates/resources/resource_card_featured.html +++ b/pyblackbird_cc/templates/resources/resource_card_featured.html @@ -24,7 +24,9 @@ {% endif %} {% if resource.card_description %} -

{{ resource.card_description | markdown | safe }}

+
+

{{ resource.card_description | markdown | safe }}

+
{% else %}

{{ resource.description | markdown | safe }}

{% endif %} diff --git a/pyblackbird_cc/templates/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html index b3d230e..66e77ab 100644 --- a/pyblackbird_cc/templates/resources/resource_card_standard.html +++ b/pyblackbird_cc/templates/resources/resource_card_standard.html @@ -32,7 +32,9 @@ Feature slot: {{ resource.feature_slot }} {% endif %} -

{{ resource.card_description }}

+
+

{{ resource.card_description }}

+

1 credit

-- cgit v1.2.3