fix twemoji

This commit is contained in:
Sophia Atkinson 2024-04-10 11:16:41 -07:00
parent 754d2a3c33
commit e5d47a3d02
Signed by: Sophia
GPG Key ID: 73928E5CCCD28BE1

View File

@ -13,6 +13,6 @@
<script src="{{ . | relURL }}"></script>
{{ end }}
{{ if eq .Params.usetwemoji true }}
<script src="https://cdn.jsdelivr.net/npm/twemoji/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script>twemoji.parse(document.body)</script>
{{ end }}