uudid gleich setzen

This commit is contained in:
L3D 2021-09-05 01:54:19 +02:00
parent bf6905fdcb
commit e45b6a8e73
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ X-usda_lookup: "https://fdc.nal.usda.gov/fdc-app.html" -#}
{{- '\nrecipe_name: ' -}} "{{- this.title -}}" {{- '\nrecipe_name: ' -}} "{{- this.title -}}"
{%- endif -%} {%- endif -%}
{{- '\nrecipe_uuid: ' -}} "{{- this.parent.parent._gid[:8] -}}-{{- this.parent.parent._gid[-6:-2] -}}-{{- this.parent._gid[-8:-4] }}-{{- this.parent._gid[-4:] -}}-{{- this.parent._gid[:12] -}}" {{- '\nrecipe_uuid: ' -}} "{{- this.parent._gid[:8] -}}-{{- this.parent._gid[-6:-2] -}}-{{- this._gid[-8:-4] }}-{{- this._gid[-4:] -}}-{{- this._gid[:12] -}}"
{%- include "zutaten/yields.yaml" -%} {%- include "zutaten/yields.yaml" -%}

View file

@ -13,7 +13,7 @@
{{- '\n ' -}} <div class="content__box"> {{- '\n ' -}} <div class="content__box">
{{- '\n ' -}} <div class="content__inner_box"> {{- '\n ' -}} <div class="content__inner_box">
{{- '\n ' -}} {{- '\n ' -}}
<h1 id="{{- this.parent._gid[:8] -}}-{{- this.parent._gid[-6:-2] -}}-{{- this._gid[-8:-4] }}-{{- this._gid[-4:] -}}-{{- this._gid[:12] -}}"> <h1 id="{{- child.parent._gid[:8] -}}-{{- child.parent._gid[-6:-2] -}}-{{- child._gid[-8:-4] }}-{{- child._gid[-4:] -}}-{{- child._gid[:12] -}}">
{%- if child.recipe_name and child.recipe_name != "" -%} {%- if child.recipe_name and child.recipe_name != "" -%}
{{ child.recipe_name }}</h1> {{ child.recipe_name }}</h1>
{%- else -%} {%- else -%}

View file

@ -13,7 +13,7 @@
{{- '\n ' -}} <div class="content__box"> {{- '\n ' -}} <div class="content__box">
{{- '\n ' -}} <div class="content__inner_box"> {{- '\n ' -}} <div class="content__inner_box">
{{- '\n ' -}} {{- '\n ' -}}
<h1 id="{{- this.parent._gid[:8] -}}-{{- this.parent._gid[-6:-2] -}}-{{- this._gid[-8:-4] }}-{{- this._gid[-4:] -}}-{{- this._gid[:12] -}}"> <h1 id="{{- child.parent._gid[:8] -}}-{{- child.parent._gid[-6:-2] -}}-{{- child._gid[-8:-4] }}-{{- child._gid[-4:] -}}-{{- child._gid[:12] -}}">
{%- if child.recipe_name and child.recipe_name != "" -%} {%- if child.recipe_name and child.recipe_name != "" -%}
{{ child.recipe_name }}</h1> {{ child.recipe_name }}</h1>
{%- else -%} {%- else -%}