diff options
Diffstat (limited to 'src/views/project.ecr')
-rw-r--r-- | src/views/project.ecr | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/views/project.ecr b/src/views/project.ecr new file mode 100644 index 0000000..9b1d21b --- /dev/null +++ b/src/views/project.ecr @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html lang='en-US'> + <head> + <meta charset="utf-8"/> + <title>Project: <%= + h(@item["name"]) + %></title> + + <% + # TODO: add theme styles + %> + </head> + + <body> + <div class='post'> + <b>Project: <%= h(@item["name"]) %></b><br/> + <%= @item["body"] %> + + <p> + Repo URL: <a + href='<%= h(@item["repo_url"]) %>' + title='View <%= h(@item["name"]) %> Git repository.' + ><%= h(@item["repo_url"]) %></a> + </p> + </div> + </body> + + <% + # TODO: add theme scripts + %> +</html> |