diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index 053fea06..a394dcde 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251223084857-0978234b" -}} +{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251223090620-8635841c" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/_partials/plugin/link.html b/layouts/_partials/plugin/link.html index 23f15b9a..be849abb 100644 --- a/layouts/_partials/plugin/link.html +++ b/layouts/_partials/plugin/link.html @@ -15,7 +15,7 @@ {{- end -}} - {{- .Destination | safeURL -}} + {{- $u := urls.Parse .Destination -}} + {{- $u.String | safeURL | strings.TrimPrefix (add $u.Scheme "://") -}}