diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9dbb7d4..bbf8305 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -51,7 +51,7 @@ - {{- partial "scripts" (dict "P" $P "Page" .Page "Scratch" .Scratch) }} + {{- partial "scripts" . }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a357aa5..a183e1d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -25,7 +25,7 @@ - {{ default $ft.copyright .Site.Params.author }} + {{ $ft.copyright | default .Site.Params.author }} {{/* TODO -{{- $jsRes := .Page.Site.Data.resources.js }} -{{- $vendor := .P.vendors.plugins }} +{{- $jsRes := .Site.Data.resources.js }} +{{- $vendor := .Site.Params.vendors.plugins }} {{- $vendorCDN := .Scratch.Get "pluginCDN" }} {{- range $js := $jsRes }} {{- $pluginJS := $vendorCDN }}