From 9652dcb0a5f4e7667a32205c69aeba509790a61c Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 13 Sep 2020 22:11:45 +0200 Subject: Get rid of master/slave terminology It's both offensive and kinda inaccurate in this context, so let's replace it! --- example/templates/src/articles.html | 10 ++++----- example/templates/src/base.html | 41 +++++++++++++++++++++++++++++++++++++ example/templates/src/master.html | 41 ------------------------------------- 3 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 example/templates/src/base.html delete mode 100644 example/templates/src/master.html (limited to 'example/templates/src') 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 @@ - + Lets overwrite the content section

Some Articles

@@ -29,7 +29,7 @@

There are more articles.

- +

Some more useless demo stuff...

Counting from 10 to 0...

but take only the even ones and multiply by 5...

@@ -41,15 +41,15 @@ - +

Repeat some text...

Bla

- +

Get a variable's content dynamically

- +

We will call ste:repeat with a non-numerical value for n here to see the handling of a RuntimeError

Bla

diff --git a/example/templates/src/base.html b/example/templates/src/base.html new file mode 100644 index 0000000..fe6b1e6 --- /dev/null +++ b/example/templates/src/base.html @@ -0,0 +1,41 @@ + + + + ?{$title|$title - example|example}If $title given, set title to "$title - example", else "example" + + + + +

example

+ +
+ + Default content. + +
+
+ +

List of users

+ Lets loop through the users... +
    + +
  • $user[name] ($user[username])
  • +
    +
+
+
+ + diff --git a/example/templates/src/master.html b/example/templates/src/master.html deleted file mode 100644 index fe6b1e6..0000000 --- a/example/templates/src/master.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - ?{$title|$title - example|example}If $title given, set title to "$title - example", else "example" - - - - -

example

- -
- - Default content. - -
-
- -

List of users

- Lets loop through the users... -
    - -
  • $user[name] ($user[username])
  • -
    -
-
-
- - -- cgit v1.2.3-70-g09d2