feat: fontawesome, admonition and faster

This commit is contained in:
Dillon
2019-08-17 03:40:34 +08:00
parent 9e08c96b10
commit 2653f1bc7c
50 changed files with 853 additions and 1115 deletions

View File

@@ -7,9 +7,11 @@
{{ end }}
{{ $id = printf "#%s" $id }}
{{ with .Get "date" }}
<script>
var countdownMap = window.countdownMap || {};
countdownMap["{{ $id }}"] = {{ . }};
</script>
{{ $date := . }}
{{ with $.Page.Scratch.Get "countdownMap" }}
{{ $.Page.Scratch.Set "countdownMap" (dict $id $date | merge .) }}
{{ else }}
{{ $.Page.Scratch.Set "countdownMap" (dict $id $date) }}
{{ end }}
{{ end }}
{{ end }}