Add custom JS support. CLose #42

This commit is contained in:
Dmitry Kolosov 2020-07-09 22:42:23 +03:00
parent 2b180e6bae
commit 862a606590
2 changed files with 7 additions and 0 deletions

View file

@ -22,6 +22,10 @@
<link rel="stylesheet" href="{{ . | absURL }}?rnd={{ now.Unix }}">
{{- end }}
{{ range .Site.Params.customJS -}}
<script src="{{ . | absURL }}?rnd={{ now.Unix }}" type="text/javascript" charset="utf-8"></script>
{{- end }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}