--- date: 2022-01-01 00:00:00 description: > Customized HTML error page categories: [ Error page ] tags: [ HTML, 502 ] exclude_from_search: true regenerate: false permalink: /502.html http_error: 502 back_url: / sitemap: false --- {% capture j1_cache %} {% comment %} # ----------------------------------------------------------------------------- # ~/assets/http_error_pages/HTTP502.html # Liquid TEMPLATE to generate customized HTML error pages: 502 - Service currently unavailable # # Product/Info: # https://jekyll.one # # Copyright (C) 2022 Juergen Adams # Copyright (C) 2020 Andi Dittrich # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # 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 = "Service currently unavailable" %} {% assign back_url_text = "Back Home" %} {% assign reason = "We've got some trouble with our backend upstream cluster.
Our service team has been dispatched to bring it back online." %} {% assign contact_issue = "Technical Contact" %} {% endif %} {% if language == 'de' %} {% assign title = "Dienst zurzeit nicht verfügbar" %} {% assign back_url_text = "Zurück zur Startseite" %} {% assign reason = "Der Server konnte seine Funktion als Gateway oder Proxy nicht erfüllen.
Das Service Team ist bemüht den Dienst wiederherzustellen." %} {% 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 %}