Skip to content

Commit

Permalink
changed rel permalink to permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
djmonkeyuk committed Oct 18, 2024
1 parent b367658 commit 8bb7a27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
<!-- CSS -->
{{ if hugo.IsServer }}
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
<link rel="stylesheet" href="{{ ($style).Permalink }}">
{{ else }}
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
<link rel="stylesheet" href="{{ ($style | minify).RelPermalink }}">
<link rel="stylesheet" href="{{ ($style | minify).Permalink }}">
{{ end }}
{{ if hugo.IsServer }}
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
<noscript><link rel="stylesheet" href="{{ ($noscript).RelPermalink }}" /></noscript>
<noscript><link rel="stylesheet" href="{{ ($noscript).Permalink }}" /></noscript>
{{ else }}
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
<noscript><link rel="stylesheet" href="{{ ($noscript | minify).RelPermalink }}" /></noscript>
<noscript><link rel="stylesheet" href="{{ ($noscript | minify).Permalink }}" /></noscript>
{{end}}

<!-- FontAwesome CSS -->
Expand Down

0 comments on commit 8bb7a27

Please sign in to comment.