fix: PermaLink to RelPermalink

This commit is contained in:
Junyi Hou 2024-04-09 19:33:28 +08:00
parent f774d2689d
commit 9f33764cff
7 changed files with 18 additions and 20 deletions

View file

@ -16,7 +16,7 @@
{{ end }}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{ end -}}
{{ partial "favicons.html" . }}
@ -56,8 +56,6 @@
{{ $opts := dict "transpiler" "libsass" "targetPath" "css/style.css" }}
{{ range site.Params.customCSS }}
{{ with resources.Get . | toCSS $opts | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">