Include fork awesome into css bundle

This commit is contained in:
Patrick Favre-Bulle 2022-12-30 00:44:59 +01:00
parent 5d3cd873e3
commit b2f3cef507
No known key found for this signature in database
GPG key ID: 95A396FCC7E8EE9F
9 changed files with 2 additions and 2587 deletions

View file

@ -19,10 +19,11 @@
<meta name="MobileOptimized" content="320" /> <meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{ $stylesheetFA := resources.Get "css/fork-awesome.css" }}
{{ $stylesheetNormalize := resources.Get "css/normalize.css" }} {{ $stylesheetNormalize := resources.Get "css/normalize.css" }}
{{ $stylesheetFonts := resources.Get "css/fonts.css" }} {{ $stylesheetFonts := resources.Get "css/fonts.css" }}
{{ $stylesheetScreen := resources.Get "css/screen.css" }} {{ $stylesheetScreen := resources.Get "css/screen.css" }}
{{ $stylesheet := slice $stylesheetNormalize $stylesheetFonts $stylesheetScreen | resources.Concat "css/style.css" | resources.Minify | resources.Fingerprint }} {{ $stylesheet := slice $stylesheetNormalize $stylesheetFA $stylesheetFonts $stylesheetScreen | resources.Concat "css/style.css" | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $stylesheet.Permalink }}" type="text/css" integrity="{{ $stylesheet.Data.Integrity }}" /> <link rel="stylesheet" href="{{ $stylesheet.Permalink }}" type="text/css" integrity="{{ $stylesheet.Data.Integrity }}" />

View file

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 470 KiB

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long