redesign website #1
3 changed files with 23 additions and 13 deletions
|
@ -93,7 +93,7 @@ box_content:
|
|||
|
||||
Der klassische Waffelteig lässt sich mit Zutaten eurer Wahl verfeiern und verwandelt das Waffeln essen in ein neues Abendteuer.
|
||||
|
||||
Es gibt Zimt, Kardamom, Chilli, frische Kräuter und vieles mehr. Probiert es doch mal aus.
|
||||
Es gibt zum Beispiel Zimt, Kardamom, Chilli, frische Kräuter und vieles mehr. Probiert es doch mal aus.
|
||||
-----
|
||||
box_link: verfeinerter Teig
|
||||
-----
|
||||
|
|
|
@ -75,7 +75,13 @@ width = 1/3
|
|||
[fields.source_authors]
|
||||
label = Author
|
||||
type = string
|
||||
width = 1/2
|
||||
|
||||
[fields.x_license]
|
||||
label = License
|
||||
type = string
|
||||
width = 1/2
|
||||
|
||||
[fields.render_hygiene]
|
||||
label = Render Hygiene Hinweise
|
||||
type = boolean
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
---
|
||||
{#
|
||||
definition_ORF: "https://open-recipe-format.readthedocs.io/en/latest/topics/reference/orf.html"
|
||||
json_schema: "https://raw.githubusercontent.com/techhat/openrecipeformat/master/schema.json"
|
||||
validator: "https://json-schema.org/"
|
||||
validator_steps:
|
||||
{#-
|
||||
X-definition_ORF: "https://open-recipe-format.readthedocs.io/en/latest/topics/reference/orf.html"
|
||||
X-json_schema: "https://raw.githubusercontent.com/techhat/openrecipeformat/master/schema.json"
|
||||
X-validator: "https://json-schema.org/"
|
||||
X-validator_steps:
|
||||
- "pip3 install jsonschema"
|
||||
- "install yq"
|
||||
- "wget {{ json_schema }}"
|
||||
- "curl rezep.yaml | yq -j > rezept.json"
|
||||
- "jsonschema -i rezept.json schema.json"
|
||||
|
||||
usda_lookup: "https://fdc.nal.usda.gov/fdc-app.html" -#}
|
||||
X-usda_lookup: "https://fdc.nal.usda.gov/fdc-app.html" -#}
|
||||
|
||||
{%- if this.recipe_name and this.recipe_name != "" -%}
|
||||
recipe_name: "{{ this.recipe_name | default(this.title) }}"
|
||||
{{- '\nrecipe_name: ' -}} "{{- this.recipe_name | default(this.title) -}}"
|
||||
{%- else -%}
|
||||
recipe_name: "{{ this.title }}"
|
||||
{{- '\nrecipe_name: ' -}} "{{- this.title -}}"
|
||||
{%- endif -%}
|
||||
|
||||
{{- '\nrecipe_uuid: ' -}} "{{ this._gid }}"
|
||||
{{- '\nrecipe_uuid: ' -}} "{{- this._gid -}}"
|
||||
|
||||
{%- include "zutaten/yields.yaml" -%}
|
||||
|
||||
|
@ -29,10 +29,14 @@ usda_lookup: "https://fdc.nal.usda.gov/fdc-app.html" -#}
|
|||
{%- include "zutaten/oven.yaml" -%}
|
||||
|
||||
{%- if this.source_authors is defined and this.source_authors != "" -%}
|
||||
{{ '\n\nsource_authors:'}} "{{ this.source_authors }}"
|
||||
{{- '\n\nsource_authors: ' -}} "{{ this.source_authors }}"
|
||||
{%- endif -%}
|
||||
{%- if this.x_license is defined and this.x_license != "" -%}
|
||||
{{ '\nX-License:' }} "{{ this.x_license }}"
|
||||
{{- '\nX-License: ' -}} "{{ this.x_license }}"
|
||||
{%- endif -%}
|
||||
{%- if this.render_hygiene | default(True) -%}
|
||||
{{- '\nX-hygiene_flyer: ' -}} "https://wiki.c3gelb.de/doku.php?id=public:flyer"
|
||||
{{- '\nX-hygiene_video: ' -}} "https://youtu.be//w-4_5J0xk7A"
|
||||
{%- endif -%}
|
||||
{{ '\nsource_url:' }} "{{ '../'|url(external=true) }}"
|
||||
{#- source: "https://open-recipe-format.readthedocs.io/en/latest/topics/tutorials/walkthrough.html" -#}
|
||||
{#- X-ORF_source: "https://open-recipe-format.readthedocs.io/en/latest/topics/tutorials/walkthrough.html" -#}
|
||||
|
|
Loading…
Reference in a new issue