summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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 %}