diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-08-17 15:16:48 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-08-17 15:16:48 +0100 |
commit | d77e9604b30952a97870dff77876bd868b2976e1 (patch) | |
tree | e2c1aad5d4629eddeb97159a1458451261ece945 /layouts | |
parent | 161c295d123f04d7831cce5a237fd059b1499553 (diff) | |
parent | 23738c442034b9d31286324a1054d9aba35e2373 (diff) |
Merge branch 'master' of github.com:yulqen/yulqen.org
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/poetry.html | 11 | ||||
-rw-r--r-- | layouts/writing/poetry/section.html | 6 | ||||
-rw-r--r-- | layouts/writing/poetry/single.html | 13 |
3 files changed, 30 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 }} diff --git a/layouts/writing/poetry/single.html b/layouts/writing/poetry/single.html new file mode 100644 index 0000000..3ef8472 --- /dev/null +++ b/layouts/writing/poetry/single.html @@ -0,0 +1,13 @@ +{{ define "main" }} + +<style type="text/css" media="screen"> + li { + margin-bottom: 1.2em; + } +</style> + +<h2 class="title">{{ .Title }}</h2> + +{{ .Content }} + +{{ end }} |