diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-14 20:46:31 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-14 20:50:37 +0200 |
commit | 46e6b5fa84b1ec6e08f124c478909ec745562214 (patch) | |
tree | 699ba761d42c79257b81cd1d01ba3e1da99c106c /templates | |
parent | d279a9137601f66685a6bbf1e4f7db162b06e661 (diff) | |
download | macroblog.rs-46e6b5fa84b1ec6e08f124c478909ec745562214.tar.gz macroblog.rs-46e6b5fa84b1ec6e08f124c478909ec745562214.tar.bz2 macroblog.rs-46e6b5fa84b1ec6e08f124c478909ec745562214.zip |
feat: Add title and date into the post template
Now post template has title and created date by defaul.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/post.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html index b1f9f72..4e5cf9a 100644 --- a/templates/post.html +++ b/templates/post.html @@ -6,6 +6,8 @@ <body> <% include!("header.html"); %> <main class="container"> + <h2><%- title %></h2> + <h5>created at: <%- date %></h2> <%- content %> </section> </main> |