1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 14:26:41 -04:00

fix some dark mode logic glitches & random clean up

This commit is contained in:
2020-04-24 18:03:33 -04:00
parent 97c6d556d9
commit d2648a68be
12 changed files with 140 additions and 73 deletions

View File

@ -0,0 +1,5 @@
{{ $darkmode := resources.Get "js/dark-mode.js" }}
{{ $twemoji := resources.Get "vendor/emoji/emoji.js" | resources.ExecuteAsTemplate "vendor/emoji/emoji.min.js" . }}
{{ $js := slice $darkmode $twemoji | resources.Concat "/js/main.js" }}
<script src="{{ $js.Permalink }}"></script>