assets/error_pages/HTTP448.html in j1-template-2023.2.7 vs assets/error_pages/HTTP448.html in j1-template-2023.3.0
- old
+ new
@@ -11,11 +11,11 @@
regenerate: false
permalink: /448.html
http_error: 448
sitemap: false
---
-{% capture j1_cache %}
+{%- capture j1_cache -%}
{% comment %}
# -----------------------------------------------------------------------------
# ~/assets/http_error_pages/HTTP448.html
# Liquid TEMPLATE to generate customized HTML error pages: 448 - Blocked Content
@@ -47,11 +47,11 @@
{% 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 %}
+{% capture brand_image %}{{images_dir}}/{{brand_image_source}}{%- endcapture -%}
{% comment %} language detection
-------------------------------------------------------------------------------- {% endcomment %}
{% if site.language == "en" %}
{% assign language = "en" %}
@@ -61,20 +61,20 @@
{% assign language = "en" %}
{% endif %}
{% if language == 'en' %}
{% assign title = "Blocked Content" %}
- {% assign back_url = "/pages/public/legal/en/privacy/#privacy-and-your-settings" %}
- {% assign back_url_text = "Your Privacy Settings" %}
+ {% assign back_url = "/" %}
+ {% assign back_url_text = "Back Home" %}
{% assign reason = "Access to the pages of this site has been disabled for technical reasons. <br> Your privacy settings disabled personalization. <br> Advertisements are not allowed but required to display pages on this website." %}
{% assign contact_issue = "Technical Contact" %}
{% endif %}
{% if language == 'de' %}
{% assign title = "Gesperrter Inhalt" %}
- {% assign back_url = "/pages/public/legal/de/privacy/#privacy-and-your-settings" %}
- {% assign back_url_text = "Ihre Datenschutzeinstellungen" %}
+ {% assign back_url = "/" %}
+ {% assign back_url_text = "Zurück zur Startseite" %}
{% assign reason = "Die Anzeige von Seiten dieser Website ist aus technischen Gründen gesperrt. <br> Die Einstellungen zu Ihrer Privatsphäre erlauben keine Personalisierung. <br> Werbeeinblendungen sind nicht erlabt, jedoch erforderlich um Seiten auf dieser Website anzuzeigen." %}
{% assign contact_issue = "Technischer Kontakt" %}
{% endif %}
<!DOCTYPE html>
@@ -120,8 +120,8 @@
</footer>
</body>
</html>
-{% endcapture %}
+{%- endcapture -%}
{{ j1_cache | strip_empty_lines }}
{% assign j1_cache = nil %}