--- date: 2022-01-01 00:00:00 description: > Customized HTML error page categories: [ Error page ] tags: [ HTML, 403 ] exclude_from_search: true regenerate: false permalink: /403.html http_error: 403 back_url: / sitemap: false --- {%- capture j1_cache -%} {% comment %} # ----------------------------------------------------------------------------- # ~/assets/http_error_pages/HTTP403.html # Liquid TEMPLATE to generate customized HTML error pages: 403 - Access Denied # # Product/Info: # https://jekyll.one # # Copyright (C) 2023 Juergen Adams # Copyright (C) 2020 Andi Dittrich # # J1 Theme is licensed under the MIT License. # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md # HttpErrorPages are licensed under the MIT License. # See: https://github.com/AndiDittrich/HttpErrorPages # ----------------------------------------------------------------------------- # NOTE # German translation, see: https://de.wikipedia.org/wiki/HTTP-Statuscode # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # config: {{ config | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% assign language = site.language %} {% assign webmaster_email = site.webmaster.email %} {% assign copyright_info = site.copyright %} {% assign favicon = site.favicon.image %} {% assign images_dir = site.asciidoc_attributes.imagesdir %} {% assign brand_text = site.brand.text %} {% assign brand_image_source = site.brand.image %} {% assign brand_image_height = site.brand.image_height %} {% capture brand_image %}{{images_dir}}/{{brand_image_source}}{%- endcapture -%} {% comment %} language detection -------------------------------------------------------------------------------- {% endcomment %} {% if site.language == "en" %} {% assign language = "en" %} {% elsif site.language == "de"%} {% assign language = "de" %} {% else %} {% assign language = "en" %} {% endif %} {% if language == 'en' %} {% assign title = "Access Denied" %} {% assign back_url_text = "Back Home" %} {% assign reason = "Access rejected.
The requested resource requires an authentication." %} {% assign contact_issue = "Technical Contact" %} {% endif %} {% if language == 'de' %} {% assign title = "Zugriff verweigert" %} {% assign back_url_text = "Zurück zur Startseite" %} {% assign reason = "Anfrage zurückgewiesen.
Die Anfrage wurde mangels Berechtigung des Clients nicht durchgeführt." %} {% assign contact_issue = "Technischer Kontakt" %} {% endif %} {{title}} · {{page.http_error}}
{{brand_text}}

{{title}} {{page.http_error}}

{{reason}}

{{back_url_text}}
{%- endcapture -%} {{ j1_cache | strip_empty_lines }} {% assign j1_cache = nil %}