From 7bc19d04271f7b073580f4eb04fba6e672869542 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Mon, 28 Oct 2024 19:09:00 +0200 Subject: notes: drop section page --- content/notes/_index.md | 2 +- templates/index.html | 6 +++++- templates/notes.html | 8 -------- 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 templates/notes.html diff --git a/content/notes/_index.md b/content/notes/_index.md index 9b90398..e9428fc 100644 --- a/content/notes/_index.md +++ b/content/notes/_index.md @@ -1,8 +1,8 @@ +++ title="Notes" sort_by = "date" -template = "notes.html" page_template = "notes-page.html" +render=false +++ These are my "living" notes. They can hold opinions, things to remember, ideas to express, and more. diff --git a/templates/index.html b/templates/index.html index ea3c2e2..c9d0cea 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,11 @@ {% set notes_section = get_section(path="notes/_index.md") %}

{{notes_section.title}}

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

{{photos_section.title}}

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

{{ section.title }}

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