From 8555cf72dec9321fa010296ce6988cf7b7cf602b 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/layouts/partials/posts/utterances.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 themes/hugo-coder/layouts/partials/posts/utterances.html (limited to 'themes/hugo-coder/layouts/partials/posts/utterances.html') diff --git a/themes/hugo-coder/layouts/partials/posts/utterances.html b/themes/hugo-coder/layouts/partials/posts/utterances.html new file mode 100644 index 0000000..0feea41 --- /dev/null +++ b/themes/hugo-coder/layouts/partials/posts/utterances.html @@ -0,0 +1,12 @@ +{{- if isset .Site.Params "utterances" -}} + {{- if and (isset .Site.Params.utterances "repo") (not (eq .Site.Params.utterances.repo "" )) (eq (.Params.disable_comments | default false) false) -}} + + {{- end -}} +{{- end -}} -- cgit v1.3