{# # 404 template # ------------ #} {# Subtemplate Setup #} {% set _t = { bodyclass: 'error-404', slug: '', templatename: '404' } %} {% extends '_layout/main-layout.html' %} {% block content %} {% set entry = craft.entries.uri('404').first() %}
{# Include Featured Image #} {% include '_components/featuredImage.html' with { data: entry } %}

{{ 'Error 404!'|t }}

{# If Contentbuilder is used on this page the default Content is hidden #} {% if entry.contentBuilder.level(1) | length %} {% include '_builder/content-builder.html' %} {% else %}

{{ 'Die gesuchte Seite wurde nicht gefunden.'|t }}

{{ 'Zur Startseite'|t }}
{% endif %}
{% endblock %}