fix: error parsing host as site_id in remark42

This commit is contained in:
leafee98 2022-07-21 19:20:16 +08:00
parent a71e469a23
commit 985756dd02

View file

@ -16,7 +16,7 @@
<script> <script>
var remark_config = { var remark_config = {
host: '{{ $remark42.host }}', host: '{{ $remark42.host }}',
site_id: '{{ $remark42.host }}', site_id: '{{ $remark42.site_id }}',
components: ['embed', 'last-comments'], components: ['embed', 'last-comments'],
max_shown_comments: {{ $remark42.max_shown_comments }}, max_shown_comments: {{ $remark42.max_shown_comments }},
theme: '{{ $remark42.theme }}', theme: '{{ $remark42.theme }}',