🏗️ Finish the scripts attributes redesign.

This commit is contained in:
凡梦星尘 2022-06-01 14:42:03 +08:00
parent 4fef03ee1f
commit b368bffde3
3 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@
</div> </div>
</footer> </footer>
{{- partial "scripts" (dict "P" $P "Page" .Page "Scratch" .Scratch) }} {{- partial "scripts" . }}
</body> </body>
</html> </html>

View File

@ -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
<!-- <!--

View File

@ -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 }}