diff options
author | Matthew Lemon <y@yulqen.org> | 2023-04-18 15:59:02 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-04-18 15:59:12 +0100 |
commit | a61894890099e0f34e146462aeb90a268fa35ff6 (patch) | |
tree | be665b88ad0de8fd923c7953001e760655da03e1 /layouts | |
parent | 9b1ba964dd5310728791581fb0d66a72c9b58538 (diff) |
added techjournal section
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/techjournals.html | 7 | ||||
-rw-r--r-- | layouts/techjournal/list.html | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/layouts/partials/techjournals.html b/layouts/partials/techjournals.html new file mode 100644 index 0000000..8227611 --- /dev/null +++ b/layouts/partials/techjournals.html @@ -0,0 +1,7 @@ +<ul id="techjournals"> + {{ range where site.RegularPages "Section" "techjournal" }} + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> ({{ .Date.Format "2 Jan 06" }}) + </li> + {{ end }} +</ul> diff --git a/layouts/techjournal/list.html b/layouts/techjournal/list.html new file mode 100644 index 0000000..dcecc6c --- /dev/null +++ b/layouts/techjournal/list.html @@ -0,0 +1,6 @@ +{{ define "main" }} + +{{ .Content }} + +{{ partial "techjournals.html" . }} +{{ end }} |