Upgrade to Twikoo 1.4.3 and add lang param

This commit is contained in:
Jimmy Cai 2021-08-04 20:44:45 +02:00 committed by GitHub
parent 9db0b86cfd
commit cedc2accd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
<script src="//cdn.jsdelivr.net/npm/twikoo@1.4.1/dist/twikoo.all.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/twikoo@1.4.3/dist/twikoo.all.min.js"></script>
<div id="tcomment"></div>
<style>
.twikoo {
@ -34,6 +34,9 @@
{{- with .path -}}
path: '{{- . -}}',
{{- end -}}
{{- with .lang -}}
lang: '{{- . -}}',
{{- end -}}
})
</script>
{{- end -}}