From 7bbb03eeac30b6580899c6a31234a74872d198fd Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Fri, 27 Jun 2025 23:30:41 -0400 Subject: [PATCH] removed templates and updated content --- content/blog/not-a-post.md | 5 +++++ content/blog/topic.md | 5 +++++ content/index.md | 4 +--- content/post.md | 6 +++++- content/post_list.md | 5 +++++ templates/base.html | 34 ---------------------------------- templates/footer.md | 1 - templates/header.md | 2 -- templates/page.html | 6 ------ 9 files changed, 21 insertions(+), 47 deletions(-) create mode 100644 content/blog/not-a-post.md create mode 100644 content/blog/topic.md create mode 100644 content/post_list.md delete mode 100644 templates/base.html delete mode 100644 templates/footer.md delete mode 100644 templates/header.md delete mode 100644 templates/page.html diff --git a/content/blog/not-a-post.md b/content/blog/not-a-post.md new file mode 100644 index 0000000..9e169a8 --- /dev/null +++ b/content/blog/not-a-post.md @@ -0,0 +1,5 @@ +--- +post: false +--- + +This is not a blog post! diff --git a/content/blog/topic.md b/content/blog/topic.md new file mode 100644 index 0000000..98b07e2 --- /dev/null +++ b/content/blog/topic.md @@ -0,0 +1,5 @@ +--- +title: smth idk +--- + +yeet diff --git a/content/index.md b/content/index.md index 79b7695..4c615d2 100644 --- a/content/index.md +++ b/content/index.md @@ -2,9 +2,7 @@ title: My First Post --- -# My Title - -- This post has some content. +- This post has some content. I changed it. ```python def md_to_html( diff --git a/content/post.md b/content/post.md index c6d726d..f450477 100644 --- a/content/post.md +++ b/content/post.md @@ -1 +1,5 @@ -Okay, here's a post. It references [topic](./topic.md) +--- +post: true +--- + +Okay, here's a post. It references [topic](./topic.md). What?? diff --git a/content/post_list.md b/content/post_list.md new file mode 100644 index 0000000..9adde7b --- /dev/null +++ b/content/post_list.md @@ -0,0 +1,5 @@ +--- +template: post_list +--- + + diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 87a8392..0000000 --- a/templates/base.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - {{ metadata.title }} - - - - - -
- {% if header %} - - {% endif %} - {% block content %}{% endblock %} - {% if footer %} -
-
- {{ footer | safe }} -
- {% endif %} -
- - - diff --git a/templates/footer.md b/templates/footer.md deleted file mode 100644 index 653482d..0000000 --- a/templates/footer.md +++ /dev/null @@ -1 +0,0 @@ -The footer content. diff --git a/templates/header.md b/templates/header.md deleted file mode 100644 index a0e3630..0000000 --- a/templates/header.md +++ /dev/null @@ -1,2 +0,0 @@ -- One -- Two diff --git a/templates/page.html b/templates/page.html deleted file mode 100644 index d568de1..0000000 --- a/templates/page.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
{{ content | safe }}
-{% endblock %} -