redesign website #1

Merged
l3d merged 80 commits from ui into main 2022-05-18 00:35:38 +02:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit e45b6a8e73 - Show all commits

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 -%}