diff --git a/src/open_inwoner/components/templates/components/Card/RenderCard.html b/src/open_inwoner/components/templates/components/Card/RenderCard.html index ac2f325bfc..d78dc5d405 100644 --- a/src/open_inwoner/components/templates/components/Card/RenderCard.html +++ b/src/open_inwoner/components/templates/components/Card/RenderCard.html @@ -2,25 +2,22 @@ {# Utilizes same template as Card. #}
- + {% if src %} + + {{ alt }} + + {% endif %} - {% if src %} - - {{ alt }} - +
+ {% if title %} +

+ {% if href %} + {% link href=href text=title %} + {% else %} + {{ title }} + {% endif %} +

{% endif %} - -
- {% if title %} -

- {% if href %} - {% link href=href text=title %} - {% else %} - {{ title }} - {% endif %} -

- {% endif %} - {{ contents }} -
- + {{ contents }} +