add setting for isso-feed
This commit is contained in:
parent
33a9a5e367
commit
7f30ae2ec1
@ -100,6 +100,7 @@ params:
|
|||||||
id: "thread-id" # optional
|
id: "thread-id" # optional
|
||||||
avatar: true # optional
|
avatar: true # optional
|
||||||
avatar-bg: "#f0f0f0" # optional
|
avatar-bg: "#f0f0f0" # optional
|
||||||
|
feed: false # optional
|
||||||
webmentions:
|
webmentions:
|
||||||
url: https://yourdomain.com/webemntions/receive
|
url: https://yourdomain.com/webemntions/receive
|
||||||
login: hugo-theme-anubis
|
login: hugo-theme-anubis
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
{{ $id := .Site.Params.isso.id | default "true" }}
|
{{ $id := .Site.Params.isso.id | default "true" }}
|
||||||
{{ $avatar := .Site.Params.isso.avatar | default "true" }}
|
{{ $avatar := .Site.Params.isso.avatar | default "true" }}
|
||||||
{{ $avatarbg := .Site.Params.isso.avatarbg | default "#f0f0f0" }}
|
{{ $avatarbg := .Site.Params.isso.avatarbg | default "#f0f0f0" }}
|
||||||
|
{{ $feed := .Site.Params.isso.feed | default "false" }}
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<script
|
<script
|
||||||
data-isso="{{ .Site.Params.isso.data }}"
|
data-isso="{{ .Site.Params.isso.data }}"
|
||||||
@ -14,6 +15,7 @@
|
|||||||
data-isso-require-email="{{ .Site.Params.isso.requireEmail }}"
|
data-isso-require-email="{{ .Site.Params.isso.requireEmail }}"
|
||||||
data-isso-avatar="{{ $avatar }}"
|
data-isso-avatar="{{ $avatar }}"
|
||||||
data-isso-avatar-bg="{{ $avatarbg }}"
|
data-isso-avatar-bg="{{ $avatarbg }}"
|
||||||
|
data-isso-feed="{{ $feed }}"
|
||||||
src="{{ .Site.Params.isso.jsLocation }}">
|
src="{{ .Site.Params.isso.jsLocation }}">
|
||||||
</script>
|
</script>
|
||||||
<noscript>Please enable JavaScript to view the comments powered by <a href="https://posativ.org/isso/">Isso</a>.</noscript>
|
<noscript>Please enable JavaScript to view the comments powered by <a href="https://posativ.org/isso/">Isso</a>.</noscript>
|
||||||
|
Loading…
Reference in New Issue
Block a user