From 98a21b966410c127e74b16e7a2817882ee16560f Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sun, 26 Dec 2021 00:30:09 -0500 Subject: convert theme from submodule to regular files --- themes/hugo-coder | 1 - themes/hugo-coder/layouts/partials/list.html | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) delete mode 160000 themes/hugo-coder create mode 100644 themes/hugo-coder/layouts/partials/list.html (limited to 'themes/hugo-coder/layouts/partials/list.html') diff --git a/themes/hugo-coder b/themes/hugo-coder deleted file mode 160000 index 55b2a15..0000000 --- a/themes/hugo-coder +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 55b2a150f990bc56364dba347bc9acc6aab07be3 diff --git a/themes/hugo-coder/layouts/partials/list.html b/themes/hugo-coder/layouts/partials/list.html new file mode 100644 index 0000000..243e1af --- /dev/null +++ b/themes/hugo-coder/layouts/partials/list.html @@ -0,0 +1,22 @@ +
+

+ + {{- if eq .Kind "term" -}} + {{- i18n .Data.Singular | title -}} + {{- print ": " -}} + {{- end -}} + + {{- i18n (lower .Title) | default .Title | title -}} + +

+ {{ .Content }} + + {{ partial "pagination.html" . }} +
-- cgit v1.2.3