wires

summary refs log tree commit diff
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-04-08 14:26:09 -0400
committerwires <wires@noreply.wires.systems>2025-04-08 14:26:09 -0400
commit65236d771e31dc36b5cf95083fc012f5e05aa220 (patch)
treeab245b2a53c338018b6538ae029ecaf5145e7458
parentchange inline code style (diff)
downloadblog-65236d771e31dc36b5cf95083fc012f5e05aa220.tar.gz
add draft reading list page
-rw-r--r--content/reading-list.md9
-rw-r--r--layouts/index.html3
-rw-r--r--layouts/page/single.html1
3 files changed, 12 insertions, 1 deletions
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) }}
 <h2>Posts</h2>
 <ul>
   {{ range . }}
diff --git a/layouts/page/single.html b/layouts/page/single.html
new file mode 100644
index 0000000..d975ecb
--- /dev/null
+++ b/layouts/page/single.html
@@ -0,0 +1 @@
+{{ define "main" }} {{ .Content }} {{ end }}