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

execute twemoji script as a template (mainly to get baseURL)

This commit is contained in:
2020-04-13 15:35:45 -04:00
parent d6b1fdf872
commit c1700cdda0
6 changed files with 15 additions and 14 deletions

View File

@@ -1 +1,2 @@
<script async defer src="{{ "vendor/emoji/emoji.min.js" | absURL }}"></script>
{{ $twemoji := resources.Get "vendor/emoji/emoji.min.js" | resources.ExecuteAsTemplate "vendor/emoji/emoji.min.js" . }}
<script async defer src="{{ $twemoji.Permalink }}"></script>