summaryrefslogtreecommitdiff
path: root/example/templates
diff options
context:
space:
mode:
Diffstat (limited to 'example/templates')
-rw-r--r--example/templates/src/articles.html10
-rw-r--r--example/templates/src/base.html (renamed from example/templates/src/master.html)0
2 files changed, 5 insertions, 5 deletions
diff --git a/example/templates/src/articles.html b/example/templates/src/articles.html
index 36f59c4..270eb00 100644
--- a/example/templates/src/articles.html
+++ b/example/templates/src/articles.html
@@ -1,5 +1,5 @@
<ste:load name="custom_tags.tpl" />
-<ste:load name="master.html" />
+<ste:load name="base.html" />
<ste:comment>Lets overwrite the content section</ste:comment>
<ste:block name="content">
<h2>Some Articles</h2>
@@ -29,7 +29,7 @@
<p>There are <a href="#">more articles</a>.</p>
</ste:then>
</ste:if>
-
+
<h2>Some more useless demo stuff...</h2>
<h3>Counting from 10 to 0...</h3>
<p>but take only the even ones and multiply by 5...</p>
@@ -41,15 +41,15 @@
</ste:then>
</ste:if>
</ste:for>
-
+
<h3>Repeat some text...</h3>
<ste:repeat n="10">
<p>Bla</p>
</ste:repeat>
-
+
<h3>Get a variable's content dynamically</h3>
<ste:get var="${foo}[$bar]" />
-
+
<h3>We will call ste:repeat with a non-numerical value for n here to see the handling of a RuntimeError</h3>
<ste:repeat n="lol">
<p>Bla</p>
diff --git a/example/templates/src/master.html b/example/templates/src/base.html
index fe6b1e6..fe6b1e6 100644
--- a/example/templates/src/master.html
+++ b/example/templates/src/base.html