mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 12:35:31 -04:00
prevent Hugo's auto-escaping of base URL in twemoji JS
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
<script src="{{ "/twemoji/twemoji.min.js" | absURL }}"></script>
|
||||
<script>twemoji.parse(document.body,{base:'{{ "/" | absURL }}',folder:'twemoji/svg',ext:'.svg'})</script>
|
||||
<script>twemoji.parse(document.body,{{ dict "base" ("/" | absURL) "folder" "twemoji/svg" "ext" ".svg" | jsonify | safeJS }})</script>
|
||||
|
Reference in New Issue
Block a user