From 3efa25ba15f25d0a44efa7b0f3d36597a4103315 Mon Sep 17 00:00:00 2001 From: Freyja Odinthrir Date: Wed, 17 Jan 2024 14:46:24 -0800 Subject: [PATCH] Update html template, add markdown template. --- template-post.md | 8 ++++++++ templates/article.html | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 template-post.md diff --git a/template-post.md b/template-post.md new file mode 100644 index 0000000..fdea5ee --- /dev/null +++ b/template-post.md @@ -0,0 +1,8 @@ +title: Post Title +description: Post description goes here +tags: template, post, misc +date: 2024-01-17 14:24 + +# Post Content + +Post content goes here... diff --git a/templates/article.html b/templates/article.html index 889186d..e675a32 100644 --- a/templates/article.html +++ b/templates/article.html @@ -7,12 +7,12 @@ {% if title %}

{{ title }}

{% endif %} + {% if description %} +

{{ description }}

+ {% endif %} {{ content }}