1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 12:35:31 -04:00

custom twemoji script to bake in my own defaults and remove inline JS

This commit is contained in:
2020-04-07 09:58:27 -04:00
parent bfc11b4600
commit f6e9f9ee3a
3 changed files with 572 additions and 3 deletions

View File

@@ -1,2 +1 @@
<script src="{{ "vendor/emoji/emoji.min.js" | absURL }}"></script>
<script>twemoji.parse(document.body,{{ dict "base" ("/" | absURL) "folder" "vendor/emoji/svg" "ext" ".svg" | jsonify | safeJS }})</script>
<script async defer src="{{ "vendor/emoji/emoji.min.js" | absURL }}"></script>