Merge pull request #154 from cambid/add-isso-feed
Add isso feed of comments
This commit is contained in:
commit
de92845ab7
@ -104,6 +104,7 @@ params:
|
||||
id: "thread-id" # optional
|
||||
avatar: true # optional
|
||||
avatar-bg: "#f0f0f0" # optional
|
||||
feed: false # optional
|
||||
graphcommentId: ""
|
||||
webmentions:
|
||||
url: https://yourdomain.com/webemntions/receive
|
||||
|
@ -738,4 +738,8 @@ ul.language-select > li, ul.footer-menu > li {
|
||||
#isso-thread .textarea {
|
||||
color: #000;
|
||||
}
|
||||
#isso-thread .isso-feedlink {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
{{ end }}
|
||||
|
@ -3,6 +3,7 @@
|
||||
{{ $id := .Site.Params.isso.id | default "true" }}
|
||||
{{ $avatar := .Site.Params.isso.avatar | default "true" }}
|
||||
{{ $avatarbg := .Site.Params.isso.avatarbg | default "#f0f0f0" }}
|
||||
{{ $feed := .Site.Params.isso.feed | default "false" }}
|
||||
<article class="post">
|
||||
<script
|
||||
data-isso="{{ .Site.Params.isso.data }}"
|
||||
@ -14,6 +15,7 @@
|
||||
data-isso-require-email="{{ .Site.Params.isso.requireEmail }}"
|
||||
data-isso-avatar="{{ $avatar }}"
|
||||
data-isso-avatar-bg="{{ $avatarbg }}"
|
||||
data-isso-feed="{{ $feed }}"
|
||||
src="{{ .Site.Params.isso.jsLocation }}">
|
||||
</script>
|
||||
<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