diff --git a/modules/hp_countdown/templates/paragraph--hp-countdown.html.twig b/modules/hp_countdown/templates/paragraph--hp-countdown.html.twig index 5b3279d..587fb62 100644 --- a/modules/hp_countdown/templates/paragraph--hp-countdown.html.twig +++ b/modules/hp_countdown/templates/paragraph--hp-countdown.html.twig @@ -15,69 +15,63 @@ %} {% if content.field_hp_cdn_image|render %} - {% set img_classes = ['countdown-container', 'has-image'] %} + {% set img_classes = ['countdown-container', 'has-image'] %} {% else %} - {% set img_classes = ['countdown-container'] %} + {% set img_classes = ['countdown-container'] %} {% endif %} - {% if hp_show_wrapper %} -
- {% endif %} -
- +
+ - {% if content.field_hp_cdn_image|render %} -
- {{ content.field_hp_cdn_image }} -
- {% endif %} + {% if content.field_hp_cdn_image|render %} +
+ {{ content.field_hp_cdn_image }} +
+ {% endif %} -
+
- {% if content.field_hp_cdn_title|render %} -

{{ content.field_hp_cdn_title }}

- {% endif %} + {% if content.field_hp_cdn_title|render %} +

{{ content.field_hp_cdn_title }}

+ {% endif %} -
-
-

- 0 -

-

Days

-
- : -
-

- 0 -

-

Hours

-
- : -
-

- 0 -

-

Mins

-
- : -
-

- 0 -

-

Secs

-
+
+
+

+ 0 +

+

Days

+
+ : +
+

+ 0 +

+

Hours

+
+ : +
+

+ 0 +

+

Mins

+
+ : +
+

+ 0 +

+

Secs

- {% if content.field_hp_cdn_link|render %} - - {% endif %}
+ {% if content.field_hp_cdn_link|render %} + + {% endif %}
+
- {% if hp_show_wrapper %} -
- {% endif %}