aboutsummaryrefslogtreecommitdiff
path: root/data/themes/default/templates/page.html
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-27 20:04:31 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-27 20:04:31 -0400
commit066895cea97d0b730bc9b56054c9691e5181dd3f (patch)
tree592530f6c1e70cf97cded4e73317bc7433a4a384 /data/themes/default/templates/page.html
parent8ffde2e23c21ccae81f34c34ef115993719d34eb (diff)
downloadguff-066895cea97d0b730bc9b56054c9691e5181dd3f.tar.bz2
guff-066895cea97d0b730bc9b56054c9691e5181dd3f.zip
use theme template to render pages
Diffstat (limited to 'data/themes/default/templates/page.html')
-rw-r--r--data/themes/default/templates/page.html24
1 files changed, 24 insertions, 0 deletions
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 @@
+<!DOCTYPE html>
+<html lang='en-US'>
+ <head>
+ <meta charset="utf-8"/>
+ <title>%{
+ name | h
+ }</title>
+
+ %{styles}
+ </head>
+
+ <body>
+ <div class='post'>
+ <b>page: %{name | h}</b><br/>
+ <b>
+ by <span class='user'>%{user_name | h}</span>
+ on <span class='date'>%{posted_at_text | h}</span>
+ </b><br/><br/>
+ %{body}
+ </div>
+ </body>
+
+ %{scripts}
+</html>