You've already forked hugo-mod-twemoji
mirror of
https://github.com/jakejarvis/hugo-mod-twemoji.git
synced 2025-06-27 15:35:41 -04:00
include a quick-start partial template with basic JS config ⚡
This commit is contained in:
2
layouts/partials/twemoji.html
Normal file
2
layouts/partials/twemoji.html
Normal file
@ -0,0 +1,2 @@
|
||||
<script src="{{ "twemoji/js/twemoji.min.js" | absURL }}"></script>
|
||||
<script>twemoji.parse(document.body,{{ dict "base" ("/twemoji/" | absURL) "folder" "svg" "ext" ".svg" | jsonify | safeJS }})</script>
|
Reference in New Issue
Block a user