summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/notes/_index.md2
-rw-r--r--templates/index.html6
-rw-r--r--templates/notes.html8
3 files changed, 6 insertions, 10 deletions
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") %}
<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 %}