summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNikolas <nikolas@boutalas.com>2024-10-28 19:09:00 +0200
committerNikolas <nikolas@boutalas.com>2024-10-28 19:09:00 +0200
commit7bc19d04271f7b073580f4eb04fba6e672869542 (patch)
tree2fc5ed0cf4289b5539debd85f3dfd19c517d7bc2 /templates
parent2bcbe122f3b7502baed3e5eb801e3d2323b1ac48 (diff)
notes: drop section page
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html6
-rw-r--r--templates/notes.html8
2 files changed, 5 insertions, 9 deletions
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") %}
<h2>{{notes_section.title}}</h2>
{{ notes_section.content | safe}}
-<a href="{{ notes_section.permalink | safe }}">Read more</a>
+<ul>
+ {% for page in notes_section.pages %}
+ <li><a href="{{ page.permalink | safe }}">... {{ page.title }}</a> ({{ page.date}})</li>
+ {% endfor %}
+</ul>
{% set photos_section = get_section(path="photos/_index.md") %}
<h2>{{photos_section.title}}</h2>
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 %}
-<h1>{{ section.title }}</h1>
-<ul>
- {% for page in section.pages %}
- <li><a href="{{ page.permalink | safe }}">... {{ page.title }}</a> ({{ page.date }})</li>
- {% endfor %}
-</ul>
-{% endblock body %}