From 7577c32a83d2897617fb60f488d6d71cd23be698 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 15 Jul 2016 19:46:16 -0400 Subject: add initial blog list templates --- src/views/blog/list-item.ecr | 3 +++ src/views/blog/list.ecr | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/views/blog/list-item.ecr create mode 100644 src/views/blog/list.ecr (limited to 'src/views') 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 @@ +
+ id: <%= @post_id %> +
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 @@ + + + + + <%= + h(TITLE) + %> + + <% + # TODO: add theme styles + %> + + + + blog list + +
<%= + posts + %>
+ + + <% + # TODO: add theme scripts + %> + -- cgit v1.2.3