summaryrefslogtreecommitdiff
path: root/index.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'index.html.tmpl')
-rw-r--r--index.html.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/index.html.tmpl b/index.html.tmpl
index 7d2376a..33a01ee 100644
--- a/index.html.tmpl
+++ b/index.html.tmpl
@@ -19,7 +19,7 @@
<p>My interests are a bit all over the place, but around this site you can also find:</p>
<ul>
<li><a href="https://code.tjp.lol">open source code repos</a></li>
- <li><a href="https://film.tjp.lol">a gallery of film photography</a></li>
+ <li><a href="https://film.tjp.lol">film photography gallery</a></li>
</ul>
</section>
@@ -39,11 +39,12 @@
<section>
<h2>recently changed notes</h2>
- {{- $notes := sortPages (index .Pages "notes") "ModTime"}}
+ {{- $notes := sortPages (index .Pages "notes/sync") "mod_time"}}
{{- with $notes}}
<ul>
{{- range slicePages . 0 5}}
- <li><a href="{{rel "index.html" .OutputPath}}">{{.Title}}</a></li>
+ {{- $dir := dirPath (joinPath (slice (splitPath .OutputPath) 2))}}
+ <li><a href="{{rel "index.html" .OutputPath}}">{{$dir}}/ {{.Title}}</a></li>
{{- end}}
</ul>
{{- end}}