improve recepie, improve startpage
This commit is contained in:
parent
70a9f3f1d6
commit
89f43c1cbd
4 changed files with 21 additions and 11 deletions
|
@ -17,6 +17,8 @@ section:
|
|||
#### flow_text_image_section ####
|
||||
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_body:
|
||||
|
|
|
@ -117,7 +117,7 @@ usda_num: 1001
|
|||
amounts:
|
||||
|
||||
##### flow_amounts #####
|
||||
amount: vegan
|
||||
amount: 250
|
||||
-----
|
||||
unit: g
|
||||
##### flow_amounts #####
|
||||
|
|
|
@ -7,6 +7,10 @@ label = {{ this.title }}
|
|||
label = Title
|
||||
type = string
|
||||
|
||||
[fields.title_url]
|
||||
label = Title URL
|
||||
type = string
|
||||
|
||||
[fields.content_teaser]
|
||||
label = Content Teaser
|
||||
type = markdown
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
{#- Layout für halb-Text - halb Bild Startseitendinge #}
|
||||
<!-- 50/50 Layout - start -->
|
||||
<section class="content">
|
||||
<div class="content__box -heading">
|
||||
<div class="content__inner_box">
|
||||
<h2>{{ this.title }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content__half_box">
|
||||
{#- Layout für halb-Text - halb Bild Startseitendinge -#}
|
||||
{{- '\n ' -}} <section class="content">
|
||||
{{- '\n ' -}} <div class="content__box -heading">
|
||||
{{- '\n ' -}} <div class="content__inner_box">
|
||||
{{- '\n ' -}} {%- if this.title_url is defined and this.title_url != '' -%}
|
||||
<a href="{{ this.title_url }}">
|
||||
{%- endif -%}
|
||||
<h2>{{ this.title }}</h2></a>
|
||||
{%- 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__teaser">
|
||||
{{ this.content_teaser }}
|
||||
|
@ -43,4 +48,3 @@
|
|||
{%- endif %}
|
||||
</div>
|
||||
</section>
|
||||
<!-- 50/50 Layout - end -->
|
||||
|
|
Loading…
Reference in a new issue