diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2021-12-26 00:30:09 -0500 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2021-12-26 00:30:09 -0500 |
commit | 8555cf72dec9321fa010296ce6988cf7b7cf602b (patch) | |
tree | 006ad83008cc8e08524631ebb4b638bfbfa490fd /themes/hugo-coder/layouts/partials/posts/utterances.html | |
parent | 2e1cd1a569ea516be6bfdc681411cae51632a290 (diff) |
convert theme from submodule to regular files
Diffstat (limited to 'themes/hugo-coder/layouts/partials/posts/utterances.html')
m--------- | themes/hugo-coder | 0 | ||||
-rw-r--r-- | themes/hugo-coder/layouts/partials/posts/utterances.html | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/themes/hugo-coder b/themes/hugo-coder deleted file mode 160000 | |||
Subproject 55b2a150f990bc56364dba347bc9acc6aab07be | |||
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 @@ | |||
1 | {{- if isset .Site.Params "utterances" -}} | ||
2 | {{- if and (isset .Site.Params.utterances "repo") (not (eq .Site.Params.utterances.repo "" )) (eq (.Params.disable_comments | default false) false) -}} | ||
3 | <script src="https://utteranc.es/client.js" | ||
4 | repo= "{{ .Site.Params.utterances.repo }}" | ||
5 | issue-term="{{ default "title" .Site.Params.utterances.issueTerm }}" | ||
6 | {{ if isset .Site.Params.utterances "label" }}label="{{ .Site.Params.utterances.label }}"{{ end }} | ||
7 | theme="{{ default "github-light" .Site.Params.utterances.theme }}" | ||
8 | crossorigin="anonymous" | ||
9 | async> | ||
10 | </script> | ||
11 | {{- end -}} | ||
12 | {{- end -}} | ||