Skip to content

Commit

Permalink
use absurl for stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Jun 24, 2024
1 parent ff05026 commit d779a4d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions themes/freenet/layouts/partials/head/css.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<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 }}">
<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 }}">
{{ $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 d779a4d

Please sign in to comment.