🏗️ Finish the scripts attributes redesign.
This commit is contained in:
parent
4fef03ee1f
commit
b368bffde3
@ -51,7 +51,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{{- partial "scripts" (dict "P" $P "Page" .Page "Scratch" .Scratch) }}
|
||||
{{- partial "scripts" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
@ -25,7 +25,7 @@
|
||||
<span class="with-love">
|
||||
<i class="{{ $ft.icon.name }}"></i>
|
||||
</span>
|
||||
<span class="author" itemprop="copyrightHolder">{{ default $ft.copyright .Site.Params.author }}</span>
|
||||
<span class="author" itemprop="copyrightHolder">{{ $ft.copyright | default .Site.Params.author }}</span>
|
||||
</div>
|
||||
{{/* TODO
|
||||
<!--
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!-- Plugin scripts files -->
|
||||
{{- $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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user