From 066895cea97d0b730bc9b56054c9691e5181dd3f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 27 Jul 2016 20:04:31 -0400 Subject: use theme template to render pages --- data/themes/blank/templates/page.html | 15 +++++++++++++++ data/themes/default/templates/page.html | 24 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 data/themes/blank/templates/page.html create mode 100644 data/themes/default/templates/page.html (limited to 'data/themes') diff --git a/data/themes/blank/templates/page.html b/data/themes/blank/templates/page.html new file mode 100644 index 0000000..78737aa --- /dev/null +++ b/data/themes/blank/templates/page.html @@ -0,0 +1,15 @@ + + + + + %{name | h} + + %{styles} + + + + %{body} + + + %{scripts} + diff --git a/data/themes/default/templates/page.html b/data/themes/default/templates/page.html new file mode 100644 index 0000000..5b64509 --- /dev/null +++ b/data/themes/default/templates/page.html @@ -0,0 +1,24 @@ + + + + + %{ + name | h + } + + %{styles} + + + +
+ page: %{name | h}
+ + by %{user_name | h} + on %{posted_at_text | h} +

+ %{body} +
+ + + %{scripts} + -- cgit v1.2.3