Skip to content

Commit

Permalink
back to using relurl
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Jun 24, 2024
1 parent d779a4d commit ed08e69
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions themes/freenet/layouts/partials/head/css.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<link rel="stylesheet" href="{{ "fontawesome/css/fontawesome.min.css" | absURL }}">
<link rel="stylesheet" href="{{ "fontawesome/css/solid.min.css" | absURL }}">
<link rel="stylesheet" href="{{ "fontawesome/css/brands.min.css" | absURL }}">
<link rel="stylesheet" href="{{ "bulma.min.css" | absURL }}">
<link rel="stylesheet" href="{{ "fontawesome/css/fontawesome.min.css" | relURL }}">
<link rel="stylesheet" href="{{ "fontawesome/css/solid.min.css" | relURL }}">
<link rel="stylesheet" href="{{ "fontawesome/css/brands.min.css" | relURL }}">
<link rel="stylesheet" href="{{ "bulma.min.css" | relURL }}">
{{ $freenetCSS := resources.Get "css/freenet.css" | resources.ToCSS }}
{{ if hugo.IsProduction }}
{{ $freenetCSS = $freenetCSS | resources.Minify | resources.Fingerprint }}
{{ else }}
{{ $freenetCSS = $freenetCSS | resources.Fingerprint }}
{{ end }}
<link rel="stylesheet" href="{{ $freenetCSS.Permalink }}">

0 comments on commit ed08e69

Please sign in to comment.