summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorNikolas <nikolas@boutalas.com>2024-10-28 18:16:08 +0200
committerNikolas <nikolas@boutalas.com>2024-10-28 18:16:08 +0200
commit9d114262053fe91bca8077773ed5908e1d9e8696 (patch)
tree594023552c4e479f3f3fb94dba9b0b3b2c5628ac /templates/index.html
parentd327a8f7e51ac3e6be95f7a7b9204343c9553899 (diff)
index: add photos section
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 8540d29..b6d794c 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,10 +1,17 @@
{% extends "base.html" %} {% block body %}
<h1>Archive</h1>
<p>Opinions are (hopefully) my own.</p>
+
{% 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>
+<a href="{{ notes_section.permalink | safe }}">Read more</a>
+
+{% set photos_section = get_section(path="photos/_index.md") %}
+<h2>{{photos_section.title}}</h2>
+{{ photos_section.content | safe}}
+<a href="{{ photos_section.permalink | safe }}">Check them out</a>
+
<h2>Links</h2>
<ul>
<li><a href="https://git.boutalas.com">Repositories</a></li>