From 082a3342b88cd431093657739ee8e2a3787c1a36 Mon Sep 17 00:00:00 2001 From: Andrea Verlicchi Date: Wed, 17 Aug 2016 12:28:40 +0200 Subject: [PATCH] Removed double HTML escaping --- themes/demo/pages/home.htm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/demo/pages/home.htm b/themes/demo/pages/home.htm index 73aa1919e..a5fb9cb8a 100644 --- a/themes/demo/pages/home.htm +++ b/themes/demo/pages/home.htm @@ -57,7 +57,7 @@ layout = "default" Partials are chunks of HTML defined in separate files which can be included anywhere. In this example we placed the footer content to the partials/footer.htm partial. Partials are rendered with: -
{{ "{% partial \"partial-name\" %}" }}
+
{{ "{% partial \"partial-name\" %}" }}
It can be used inside pages, templates or other partials.

@@ -70,7 +70,7 @@ layout = "default"

The introductory text used on this page is defined in the content/welcome.htm file. - Content blocks are defined and rendered with: + Content blocks are defined and rendered with:

{{ "{% content \"content-name.htm\" %}" }}

@@ -89,11 +89,11 @@ layout = "default"
Layout file: -
{% filter escape %}{% content "placeholder/layout.txt" %}{% endfilter %}
+
{% content "placeholder/layout.txt" %}
Page file: -
{% filter escape %}{% content "placeholder/page.txt" %}{% endfilter %}
+
{% content "placeholder/page.txt" %}
@@ -118,4 +118,4 @@ layout = "default"

Continue to AJAX framework

- \ No newline at end of file +