diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-05-18 00:54:27 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-05-18 00:54:27 -0500 |
commit | b3a68d6838bfa3560b4718cf8437ffb4b1fa3eea (patch) | |
tree | 8675c9956d3d6c190df7705422aedfdb5f8e8937 /templates/post.html | |
parent | e2cd16b211dbd88772ee8a6cbe3ca724fe2014bd (diff) |
feat: create templates and basic content pages
Diffstat (limited to 'templates/post.html')
-rw-r--r-- | templates/post.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..0dd3bbb --- /dev/null +++ b/templates/post.html @@ -0,0 +1,14 @@ +{% import "macros.html" as macros -%} +{% extends "index.html" %} +{% block content %} + <header> + <h1 id="title">{{ page.title }}</h1> + {% if page.date %} + <time datetime="{{ page.date | date(format="%Y-%m-%d") }}"> + {{ page.date | date(format="%d %b %Y") }} + </time> + {% endif %} + </header> + {{ macros::toc(page=page) }} + {{ page.content | safe }} +{% endblock content %} |