X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fprofiles%2Fdemo_umami%2Fthemes%2Fumami%2Ftemplates%2Fcontent%2Fnode--recipe--full.html.twig;h=96ad360ae091350b2b6db14e4b8e40bddc6f2342;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=738717028b4c24a3fd8e017cadc6e495d2511778;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/profiles/demo_umami/themes/umami/templates/content/node--recipe--full.html.twig b/web/core/profiles/demo_umami/themes/umami/templates/content/node--recipe--full.html.twig index 738717028..96ad360ae 100644 --- a/web/core/profiles/demo_umami/themes/umami/templates/content/node--recipe--full.html.twig +++ b/web/core/profiles/demo_umami/themes/umami/templates/content/node--recipe--full.html.twig @@ -76,6 +76,7 @@ not node.isPublished() ? 'node--unpublished', view_mode ? 'node--view-mode-' ~ view_mode|clean_class, ] %} +{% set created_date = node.getCreatedTime|format_date('umami_dates') %} {{ attach_library('classy/node') }} @@ -84,50 +85,20 @@ view_mode ? 'node--view-mode-' ~ view_mode|clean_class,

{{ label }}

- {% if display_submitted %} - - {% trans %}by {{ author_name }} {{ created_date }}{% endtrans %} - {{ metadata }} - - {% endif %} - {{ content.field_recipe_category }} - {{ content.field_tags }} {{ title_suffix }} - -
-
- {{ content.field_image }} -
-
-
- Preparation icon - {{ content.field_preparation_time }} -
-
- Cooking icon - {{ content.field_cooking_time }} -
-
- Serves icon - {{ content.field_number_of_servings }} -
-
- Difficulty icon - {{ content.field_difficulty }} -
- {{ content.field_summary }} -
-
-
-

{{ "What you'll need and how to make this dish"|t }}

-
- {{ content.field_ingredients }} -
-
- {{ content.field_recipe_instruction }} -
+ {% if display_submitted %} +
+ + {% trans %}by {{ author_name }} {{ created_date }}{% endtrans %} + {{ metadata }}
+ + {% endif %} + + + {{ content }} +