mirror of
https://github.com/BBaoVanC/bbaovanc.com.git
synced 2026-04-02 17:32:38 -05:00
Automatically fetch Isso author IDs from params
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
|
||||
title: bbaovanc
|
||||
issoUserID: 284513e38f5c
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -94,7 +94,18 @@
|
||||
data-isso-feed="false"
|
||||
data-isso-require-email="false"
|
||||
data-isso-reply-notifications="true"
|
||||
data-isso-page-author-hash="284513e38f5c"
|
||||
|
||||
{{ with (.GetTerms "authors") }}
|
||||
{{ $authorHashes := slice }}
|
||||
{{ range . }}
|
||||
{{ with .Params.issoUserID }}
|
||||
{{ $authorHashes = $authorHashes | append . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
data-isso-page-author-hash="{{ delimit $authorHashes "," }}"
|
||||
{{ end }}
|
||||
|
||||
src="https://isso.bbaovanc.com/js/embed.min.js">
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user