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 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) (limited to 'templates/index.html') 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 %} -- cgit v1.2.3