aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-15 19:46:16 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-15 19:46:16 -0400
commit7577c32a83d2897617fb60f488d6d71cd23be698 (patch)
treeafb2a59e5d70a642cecd132bde1d67b5b71fc8a1 /src/views
parentfdae24c68dfc35173b0a6c2b6d9e81bb0b3f9b00 (diff)
downloadguff-7577c32a83d2897617fb60f488d6d71cd23be698.tar.bz2
guff-7577c32a83d2897617fb60f488d6d71cd23be698.zip
add initial blog list templates
Diffstat (limited to 'src/views')
-rw-r--r--src/views/blog/list-item.ecr3
-rw-r--r--src/views/blog/list.ecr25
2 files changed, 28 insertions, 0 deletions
diff --git a/src/views/blog/list-item.ecr b/src/views/blog/list-item.ecr
new file mode 100644
index 0000000..13131e0
--- /dev/null
+++ b/src/views/blog/list-item.ecr
@@ -0,0 +1,3 @@
+<div class='post'>
+ id: <%= @post_id %>
+</div>
diff --git a/src/views/blog/list.ecr b/src/views/blog/list.ecr
new file mode 100644
index 0000000..d0a35ca
--- /dev/null
+++ b/src/views/blog/list.ecr
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang='en-US'>
+ <head>
+ <meta charset="utf-8"/>
+ <title><%=
+ h(TITLE)
+ %></title>
+
+ <%
+ # TODO: add theme styles
+ %>
+ </head>
+
+ <body>
+ <b>blog list</b>
+
+ <div class='posts'><%=
+ posts
+ %></div><!-- posts -->
+ </body>
+
+ <%
+ # TODO: add theme scripts
+ %>
+</html>