♻️ Refactor: move all files in layouts/_default up to the layouts/ root (#607)

The `_default` folder is removed.
This commit is contained in:
Cell
2025-06-19 11:51:52 +08:00
committed by GitHub
parent ad092e7f72
commit 6123eaac2c
29 changed files with 9 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
{{- $destination := .Destination -}}
{{- with dict "Path" $destination | partial "function/resource.html" -}}
{{- $destination = .RelPermalink -}}
{{- end -}}
{{- $options := dict "Destination" $destination "Title" .Title "Content" .Text "ExternalIcon" .Page.Site.Params.externalIcon -}}
{{- partial "plugin/link.html" $options -}}