From c33c9f2eb2f18a461037a56b532cc50130b2706b Mon Sep 17 00:00:00 2001 From: roninro Date: Sat, 30 Jul 2022 17:58:24 +0800 Subject: RelPermalink --- layouts/_default/baseof.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a57646a..dc22bdc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -31,10 +31,10 @@ {{ $options := (dict "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction) "includePaths" (slice "sass")) }} {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $options }} - + {{ $zoom_css := resources.Get "zoomjs/zoom.css" | resources.Minify }} - + {{ range .Site.Params.custom_css -}} @@ -54,7 +54,7 @@ {{ end }} {{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{ end -}} -- cgit v1.2.3