improve recepie, improve startpage

This commit is contained in:
L3D 2021-12-22 00:46:42 +01:00
parent 70a9f3f1d6
commit 89f43c1cbd
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 21 additions and 11 deletions

View file

@ -17,6 +17,8 @@ section:
#### flow_text_image_section #### #### flow_text_image_section ####
title: Die Waffel Formel title: Die Waffel Formel
---- ----
title_url: /rezept/
----
content_teaser: Mit viel Liebe verwandeln wir rohe Zutaten in waffelfähigen Teig. Dabei verwenden wir lang erforschte Rezepturen, die wir euch nicht verheimlichen wollen. content_teaser: Mit viel Liebe verwandeln wir rohe Zutaten in waffelfähigen Teig. Dabei verwenden wir lang erforschte Rezepturen, die wir euch nicht verheimlichen wollen.
---- ----
content_body: content_body:

View file

@ -117,7 +117,7 @@ usda_num: 1001
amounts: amounts:
##### flow_amounts ##### ##### flow_amounts #####
amount: vegan amount: 250
----- -----
unit: g unit: g
##### flow_amounts ##### ##### flow_amounts #####

View file

@ -7,6 +7,10 @@ label = {{ this.title }}
label = Title label = Title
type = string type = string
[fields.title_url]
label = Title URL
type = string
[fields.content_teaser] [fields.content_teaser]
label = Content Teaser label = Content Teaser
type = markdown type = markdown

View file

@ -1,12 +1,17 @@
{#- Layout für halb-Text - halb Bild Startseitendinge #} {#- Layout für halb-Text - halb Bild Startseitendinge -#}
<!-- 50/50 Layout - start --> {{- '\n ' -}} <section class="content">
<section class="content"> {{- '\n ' -}} <div class="content__box -heading">
<div class="content__box -heading"> {{- '\n ' -}} <div class="content__inner_box">
<div class="content__inner_box"> {{- '\n ' -}} {%- if this.title_url is defined and this.title_url != '' -%}
<h2>{{ this.title }}</h2> <a href="{{ this.title_url }}">
</div> {%- endif -%}
</div> <h2>{{ this.title }}</h2></a>
<div class="content__half_box"> {%- if this.title_url is defined and this.title_url != '' -%}
</a>
{%- endif -%}
{{- '\n ' -}} </div>
{{- '\n ' -}} </div>
{{- '\n ' -}} <div class="content__half_box">
<div class="content__inner_half_box"> <div class="content__inner_half_box">
<div class="content__teaser"> <div class="content__teaser">
{{ this.content_teaser }} {{ this.content_teaser }}
@ -43,4 +48,3 @@
{%- endif %} {%- endif %}
</div> </div>
</section> </section>
<!-- 50/50 Layout - end -->