diff --git a/templates/pages/tailwind-training-overview.html.twig b/templates/pages/tailwind-training-overview.html.twig index 8f899075..748dcca0 100644 --- a/templates/pages/tailwind-training-overview.html.twig +++ b/templates/pages/tailwind-training-overview.html.twig @@ -8,7 +8,7 @@ %} {% set source = content.whyImage[0].formats['tailwind-training-overview-header'] %} {% set title = content.whyHeadline %} -
+
{{ title }} -
+
{{ content.whyDescription|raw }}
@@ -48,13 +48,24 @@ {% endif %} {% if content.coursesOverviewItems is not empty %} {% for item in content.coursesOverviewItems %} -
-
Movie
-
-

New movie is released!

-

Click the button to watch on Jetflix app.

+ {% if item.image|default and item.image[0]|default %} + {% set source = item.image[0].formats['tailwind-daisyui-training-overview-card'] %} + {% set title = item.image[0].title %} + {% else %} + {% set source = '/uploads/media/tailwind-daisyui-training-overview-card/09/509-webdevelopment-training-never-code-alone.jpg' %} + {% set title = item.title %} + {% endif %} +
+
+ {{ title }} +
+
+

{{ item.title }}

+

{{ item.seoDescription }}