aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-27 21:09:51 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-27 21:09:51 -0400
commitd17ca8a92f5c7b79061296eaed5d73d3837cb9b6 (patch)
treebe0a6bcc8e180fbff4f528edc43dd8334d6ad41c /data
parent066895cea97d0b730bc9b56054c9691e5181dd3f (diff)
downloadguff-d17ca8a92f5c7b79061296eaed5d73d3837cb9b6.tar.bz2
guff-d17ca8a92f5c7b79061296eaed5d73d3837cb9b6.zip
add view/template-html, use templates for project view
Diffstat (limited to 'data')
-rw-r--r--data/themes/default/templates/page.html2
-rw-r--r--data/themes/default/templates/project.html24
2 files changed, 25 insertions, 1 deletions
diff --git a/data/themes/default/templates/page.html b/data/themes/default/templates/page.html
index 5b64509..24f2290 100644
--- a/data/themes/default/templates/page.html
+++ b/data/themes/default/templates/page.html
@@ -9,7 +9,7 @@
%{styles}
</head>
- <body>
+ <body class='guff-page'>
<div class='post'>
<b>page: %{name | h}</b><br/>
<b>
diff --git a/data/themes/default/templates/project.html b/data/themes/default/templates/project.html
new file mode 100644
index 0000000..c62227a
--- /dev/null
+++ b/data/themes/default/templates/project.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang='en-US'>
+ <head>
+ <meta charset="utf-8"/>
+ <title>Project: %{name | h}</title>
+
+ %{styles}
+ </head>
+
+ <body class='guff-project'>
+ <b>Project: %{name | h}</b><br/>
+ %{body}
+
+ <p>
+ Repo URL: <a
+ href='%{repo_url|h}'
+ title='View %{name|h} Git repository.'
+ >%{repo_url|h}</a>
+ </p>
+ </div>
+ </body>
+
+ %{scripts}
+</html>