L3D
fd742c7049
Co-authored-by: L3D <l3d@see-base.de> Reviewed-on: https://backwesen.de/c3woc/webseite/pulls/1
27 lines
805 B
HTML
27 lines
805 B
HTML
{%- extends "header_slim.html" -%}
|
|
{%- from "macros/rezept.html" import render_rezept_post -%}
|
|
{%- block title -%}{{ this.title }}{%- endblock -%}
|
|
{%- block meta_description -%}
|
|
{%- if this.meta_description is defined and this.meta_description != "" -%}
|
|
{{- this.meta_description -}}
|
|
{%- else -%}
|
|
C3WOC
|
|
{%- endif -%}
|
|
{%- endblock -%}
|
|
{# https://schema.org/Recipe #}
|
|
{%- block json_ld -%}
|
|
<script type='application/ld+json'>
|
|
{
|
|
{%- for child in this.children -%}
|
|
{%- if child._template == 'zutaten.yaml' -%}
|
|
{%- if not from_index -%}
|
|
{%- include "zutaten/rezept_ld.json.j2" -%}
|
|
{%- endif -%}
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
}
|
|
</script>
|
|
{%- endblock -%}
|
|
{%- block body -%}
|
|
{{- render_rezept_post(this) -}}
|
|
{%- endblock -%}
|