diff options
author | wires <wires@noreply.wires.systems> | 2025-04-08 14:26:09 -0400 |
---|---|---|
committer | wires <wires@noreply.wires.systems> | 2025-04-08 14:26:09 -0400 |
commit | 65236d771e31dc36b5cf95083fc012f5e05aa220 (patch) | |
tree | ab245b2a53c338018b6538ae029ecaf5145e7458 | |
parent | change inline code style (diff) | |
download | blog-65236d771e31dc36b5cf95083fc012f5e05aa220.tar.gz |
add draft reading list page
-rw-r--r-- | content/reading-list.md | 9 | ||||
-rw-r--r-- | layouts/index.html | 3 | ||||
-rw-r--r-- | layouts/page/single.html | 1 |
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 }} |