diff options
Diffstat (limited to '')
-rw-r--r-- | layouts/partials/poetry.html | 11 | ||||
-rw-r--r-- | layouts/writing/poetry/section.html | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/poetry.html b/layouts/partials/poetry.html new file mode 100644 index 0000000..c62ddc1 --- /dev/null +++ b/layouts/partials/poetry.html @@ -0,0 +1,11 @@ +<h2>Poetry</h2> + +<p>This is experimental.</p> + +<ul id="poetry"> + {{ range where site.RegularPages "Section" "writing" }} + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> + </li> + {{ end }} +</ul> diff --git a/layouts/writing/poetry/section.html b/layouts/writing/poetry/section.html new file mode 100644 index 0000000..c1d096e --- /dev/null +++ b/layouts/writing/poetry/section.html @@ -0,0 +1,6 @@ +{{ define "main" }} + +{{ .Content }} + +{{ partial "poetry.html" }} +{{ end }} |