From 8a3e84ab73c7553bb303b068f2c0753a27ee0b0b Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Tue, 17 Oct 2023 23:52:44 +0200 Subject: [PATCH] content: Add dedicated site for collecting random notes Signed-off-by: Christoph Heiss --- content/notes.md | 8 ++++++++ layouts/shortcodes/pagelist.html | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 content/notes.md create mode 100644 layouts/shortcodes/pagelist.html diff --git a/content/notes.md b/content/notes.md new file mode 100644 index 0000000..383e1b3 --- /dev/null +++ b/content/notes.md @@ -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 >}} diff --git a/layouts/shortcodes/pagelist.html b/layouts/shortcodes/pagelist.html new file mode 100644 index 0000000..7782481 --- /dev/null +++ b/layouts/shortcodes/pagelist.html @@ -0,0 +1,7 @@ +{{ $pages := where .Site.RegularPages "Title" "!=" "random notes" }} + +