catch exception
This commit is contained in:
parent
c4b29bb216
commit
af8da12f04
1 changed files with 9 additions and 0 deletions
|
@ -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 -%}
|
||||||
|
|
Loading…
Reference in a new issue