Fetch 404 entry - Twig, Craft CMS

<!doctype html> <html lang="nl"> {# # Fetch the 404 Single entry, if we don’t already have it. # (requests to /404 will already have it.) #} {% if entry is not defined %} {% set entry = craft.entries.uri('404').first() %} {% endif %}

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.