diff options
Diffstat (limited to 'src/views/blog')
-rw-r--r-- | src/views/blog/list-item.ecr | 3 | ||||
-rw-r--r-- | src/views/blog/list.ecr | 25 |
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> |