diff options
| author | t <t@tjp.lol> | 2026-07-13 11:35:19 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-07-13 12:50:44 -0600 |
| commit | 130fdf3445b267c972fe051d139a88a201ac9888 (patch) | |
| tree | ea2a2a14ab12f7e38a788eeda4f5c62fdb3522bd /index.html.tmpl | |
| parent | 7c49c8d7be14054f2a679fdd83f23de90870cf1c (diff) | |
move static content index pages (projects, notes, about) into markdown
Diffstat (limited to 'index.html.tmpl')
| -rw-r--r-- | index.html.tmpl | 7 |
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}} |
