diff options
Diffstat (limited to 'src/views/blog/post.ecr')
-rw-r--r-- | src/views/blog/post.ecr | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/views/blog/post.ecr b/src/views/blog/post.ecr new file mode 100644 index 0000000..d0aa534 --- /dev/null +++ b/src/views/blog/post.ecr @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html lang='en-US'> + <head> + <meta charset="utf-8"/> + <title><%= + h(@item["name"]) + %></title> + + <% + # TODO: add theme styles + %> + </head> + + <body> + <b>blog post</b> + + <div class='post'> + <b><%= h(@item["name"]) %></b><br/> + <b> + by <%= h(@item["user_name"]) %> + on <%= h(@item["posted_at_text"]) %> + </b><br/><br/> + <%= @item["body"] %> + </div> + </body> + + <% + # TODO: add theme scripts + %> +</html> |