From 121e633a9bfd837088f34aec43b8b1b565dd5e9d Mon Sep 17 00:00:00 2001 From: Nikolas Date: Sat, 16 Nov 2024 18:58:12 +0000 Subject: index: replace static content with markdown instead of html --- templates/index.html | 28 +++------------------------- templates/notes.html | 8 ++++++++ 2 files changed, 11 insertions(+), 25 deletions(-) create mode 100644 templates/notes.html (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index a740ef7..f16c3f8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,27 +1,5 @@ -{% extends "base.html" %} {% block body %} -

Archive

+{% extends "base.html" %} -{% set notes_section = get_section(path="notes/_index.md") %} -

{{notes_section.title}}

-{{ notes_section.content | safe}} - - -{% set photos_section = get_section(path="photos/_index.md") %} -

{{photos_section.title}}

-{{ photos_section.content | safe}} -Check it out - -

Links

- - +{% block body %} +{{ section.content | safe }} {% endblock body %} diff --git a/templates/notes.html b/templates/notes.html new file mode 100644 index 0000000..f49e822 --- /dev/null +++ b/templates/notes.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} {% block body %} +

{{ section.title }}

+ +{% endblock body %} -- cgit v1.2.3