add draft reading list page
This commit is contained in:
parent
f58b00eb46
commit
65236d771e
3 changed files with 12 additions and 1 deletions
9
content/reading-list.md
Normal file
9
content/reading-list.md
Normal file
|
@ -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
|
|
@ -1,4 +1,5 @@
|
||||||
{{ define "main" }} {{ .Content }} {{ with .Site.RegularPages }}
|
{{ define "main" }} {{ .Content }} {{ with (where site.RegularPages
|
||||||
|
"Params.hidden" "ne" true) }}
|
||||||
<h2>Posts</h2>
|
<h2>Posts</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
|
|
1
layouts/page/single.html
Normal file
1
layouts/page/single.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{{ define "main" }} {{ .Content }} {{ end }}
|
Loading…
Add table
Reference in a new issue