Copying layouts from old theme to new
This commit is contained in:
12
layouts/partials/foot.html
Normal file
12
layouts/partials/foot.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ with index .Site.Data "panaetius-theme" }}
|
||||
{{ range $vendor := .assets }}
|
||||
{{ if $vendor.js }}
|
||||
<script src="{{ print "dist/" $vendor.js | relURL }}"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ range .Site.Params.customJS -}}
|
||||
<script src="{{ "js/" | relURL }}{{ . }}"></script>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user