assets/error_pages/HTTP501.html in j1-template-2023.2.7 vs assets/error_pages/HTTP501.html in j1-template-2023.3.0

- old
+ new

@@ -12,11 +12,11 @@ permalink: /501.html http_error: 501 back_url: / sitemap: false --- -{% capture j1_cache %} +{%- capture j1_cache -%} {% comment %} # ----------------------------------------------------------------------------- # ~/assets/http_error_pages/HTTP501.html # Liquid TEMPLATE to generate customized HTML error pages: 501 - Not Implemented @@ -48,11 +48,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" %} @@ -119,8 +119,8 @@ </footer> </body> </html> -{% endcapture %} +{%- endcapture -%} {{ j1_cache | strip_empty_lines }} {% assign j1_cache = nil %}