content: Add dedicated site for collecting random notes
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
b11dc64f02
commit
8a3e84ab73
8
content/notes.md
Normal file
8
content/notes.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: random notes
|
||||||
|
date: 2023-10-17T23:24:02+02:00
|
||||||
|
---
|
||||||
|
|
||||||
|
a random collection of useful notes collected over the years.
|
||||||
|
|
||||||
|
{{< pagelist >}}
|
7
layouts/shortcodes/pagelist.html
Normal file
7
layouts/shortcodes/pagelist.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{{ $pages := where .Site.RegularPages "Title" "!=" "random notes" }}
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{{ range sort $pages "Title" "asc" }}
|
||||||
|
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
Loading…
Reference in a new issue