catch exception

This commit is contained in:
L3D 2021-12-25 23:37:58 +01:00
parent c4b29bb216
commit af8da12f04
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -7,4 +7,13 @@
{{- '\n ' -}} {{- post.body -}} {{- '\n ' -}} {{- post.body -}}
{{- '\n ' -}} </div> {{- '\n ' -}} </div>
{{- '\n ' -}} </div> {{- '\n ' -}} </div>
{%- else -%}
{%- if post.title is defined -%}
{{- '\n ' -}} <div class="content__box">
{{- '\n ' -}} <div class="content__inner_box">
{{- '\n ' -}} <h1>{{ post.title -}}</h1>
{{- '\n ' -}} <p>Leider gab es ein Fehler beim Rendern von {{ post.title -}}</p>
{{- '\n ' -}} </div>
{{- '\n ' -}} </div>
{%- endif -%}
{%- endif -%} {%- endif -%}