1
mirror of https://github.com/jakejarvis/hugo-mod-twemoji.git synced 2025-06-27 14:25:41 -04:00

include a quick-start partial template with basic JS config

This commit is contained in:
2020-04-08 10:31:41 -04:00
parent f6ed90cb01
commit c4f6fe05d2
3 changed files with 30 additions and 4 deletions

View 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>