diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-28 09:08:37 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-28 09:08:37 -0400 |
commit | 000ab373552f5cda51dd501525ba4e579f9243d0 (patch) | |
tree | a4f6c1eeb42440202a8aa6df964aab6f7ab5bcc3 /data/themes/blank | |
parent | 4c86c22ff083cd7e50eb6b6cdeba088eaa23b34c (diff) | |
download | guff-000ab373552f5cda51dd501525ba4e579f9243d0.tar.bz2 guff-000ab373552f5cda51dd501525ba4e579f9243d0.zip |
reorganize post views
Diffstat (limited to 'data/themes/blank')
-rw-r--r-- | data/themes/blank/templates/blog-list-item.html | 8 | ||||
-rw-r--r-- | data/themes/blank/templates/blog-list.html | 17 | ||||
-rw-r--r-- | data/themes/blank/templates/post-blog.html | 15 | ||||
-rw-r--r-- | data/themes/blank/templates/post-page.html (renamed from data/themes/blank/templates/page.html) | 2 | ||||
-rw-r--r-- | data/themes/blank/templates/post-project.html | 22 |
5 files changed, 63 insertions, 1 deletions
diff --git a/data/themes/blank/templates/blog-list-item.html b/data/themes/blank/templates/blog-list-item.html new file mode 100644 index 0000000..f2c6c9f --- /dev/null +++ b/data/themes/blank/templates/blog-list-item.html @@ -0,0 +1,8 @@ +<div class='guff-blog-list-item'> + <b>%{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> diff --git a/data/themes/blank/templates/blog-list.html b/data/themes/blank/templates/blog-list.html new file mode 100644 index 0000000..0ed98f0 --- /dev/null +++ b/data/themes/blank/templates/blog-list.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang='en-US'> + <head> + <meta charset="utf-8"/> + <title>%{name|h}</title> + + %{styles} + </head> + + <body class='guff-blog-list'> + <div class='posts'>%{ + body + }</div><!-- posts --> + </body> + + %{scripts} +</html> diff --git a/data/themes/blank/templates/post-blog.html b/data/themes/blank/templates/post-blog.html new file mode 100644 index 0000000..ec99b37 --- /dev/null +++ b/data/themes/blank/templates/post-blog.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html lang='en-US'> + <head> + <meta charset="utf-8"/> + <title>%{name|h}</title> + + %{styles} + </head> + + <body class='guff-post-blog'> + %{body} + </body> + + %{scripts} +</html> diff --git a/data/themes/blank/templates/page.html b/data/themes/blank/templates/post-page.html index 78737aa..264d152 100644 --- a/data/themes/blank/templates/page.html +++ b/data/themes/blank/templates/post-page.html @@ -7,7 +7,7 @@ %{styles} </head> - <body> + <body class='guff-post-page'> %{body} </body> diff --git a/data/themes/blank/templates/post-project.html b/data/themes/blank/templates/post-project.html new file mode 100644 index 0000000..3fd5a76 --- /dev/null +++ b/data/themes/blank/templates/post-project.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html lang='en-US'> + <head> + <meta charset="utf-8"/> + <title>%{name | h}</title> + + %{styles} + </head> + + <body class='guff-post-project'> + %{body} + + <p> + <a + href='%{repo_url|h}' + title='View %{name|h} Git repository.' + >%{repo_url|h}</a> + </p> + </body> + + %{scripts} +</html> |