feat: add ability to add custom css and js

This commit is contained in:
John Letey 2019-02-27 14:41:56 +00:00
parent f0bfed856f
commit 4bb4bb00b4
No known key found for this signature in database
GPG key ID: 3F07136ADE092F8D
3 changed files with 16 additions and 3 deletions

View file

@ -16,3 +16,9 @@
ga('send', 'pageview');
</script>
{{- end}}
{{ range $val := $.Site.Params.customJS }}
{{ if gt (len $val) 0 }}
<script src="{{ $val }}"></script>
{{ end }}
{{ end }}