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