From 7535ee4f3293ab8e975822d768e764003e0e6869 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sun, 4 Feb 2024 01:43:07 -0500 Subject: [PATCH] update theme to support features --- layouts/_default/single.html | 7 ++++++- layouts/partials/issues.html | 5 +++++ layouts/shortcodes | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/issues.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3002f3a..d7d6443 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,9 +5,14 @@ {{partial "header" .}}
+
{{ if .Content}} -
{{.Content}}
+ {{.Content}} {{end}} + {{if .GetTerms "issues"}} + {{ partial "issues" .}} + {{end}} +
{{partial "footer" .}} diff --git a/layouts/partials/issues.html b/layouts/partials/issues.html new file mode 100644 index 0000000..ac85e26 --- /dev/null +++ b/layouts/partials/issues.html @@ -0,0 +1,5 @@ +

Raised Issues

+{{range .GetTerms "issues"}} +

{{.Title}}

+{{.Content}} +{{end}} \ No newline at end of file diff --git a/layouts/shortcodes b/layouts/shortcodes index 07e4d56..30eecfe 160000 --- a/layouts/shortcodes +++ b/layouts/shortcodes @@ -1 +1 @@ -Subproject commit 07e4d56f7e42205c761deac89fcb7a0cb41e9371 +Subproject commit 30eecfe770b684be6527bf1f3cf3827c0f396e07