From 65236d771e31dc36b5cf95083fc012f5e05aa220 Mon Sep 17 00:00:00 2001 From: wires Date: Tue, 8 Apr 2025 14:26:09 -0400 Subject: [PATCH] add draft reading list page --- content/reading-list.md | 9 +++++++++ layouts/index.html | 3 ++- layouts/page/single.html | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 content/reading-list.md create mode 100644 layouts/page/single.html diff --git a/content/reading-list.md b/content/reading-list.md new file mode 100644 index 0000000..0144097 --- /dev/null +++ b/content/reading-list.md @@ -0,0 +1,9 @@ ++++ +title = "reading" +layout = "special" +hidden = true +draft = true +[menus.main] + weight = -2 ++++ +This is a record of all the books I've read since starting this blog diff --git a/layouts/index.html b/layouts/index.html index 2289aac..8422313 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,5 @@ -{{ define "main" }} {{ .Content }} {{ with .Site.RegularPages }} +{{ define "main" }} {{ .Content }} {{ with (where site.RegularPages +"Params.hidden" "ne" true) }}

Posts