diff --git a/templates/macros/rezept_body.html b/templates/macros/rezept_body.html index 8e7f376..462d8cd 100644 --- a/templates/macros/rezept_body.html +++ b/templates/macros/rezept_body.html @@ -7,4 +7,13 @@ {{- '\n ' -}} {{- post.body -}} {{- '\n ' -}} {{- '\n ' -}} +{%- else -%} + {%- if post.title is defined -%} + {{- '\n ' -}}
+ {{- '\n ' -}}
+ {{- '\n ' -}}

{{ post.title -}}

+ {{- '\n ' -}}

Leider gab es ein Fehler beim Rendern von {{ post.title -}}

+ {{- '\n ' -}}
+ {{- '\n ' -}}
+ {%- endif -%} {%- endif -%}