Skip to content

Commit

Permalink
minor perf optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
premist committed Dec 23, 2023
1 parent e426e5d commit b4a2a2b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions themes/simplist2022/layouts/partials/begin.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@
{{ template "_internal/opengraph.html" . }}
<meta property="article:author" content="{{ .Site.Params.AuthorFacebook }}">

{{ $mainSass := resources.Get "styles/main.scss" | toCSS | minify | fingerprint }}

<link rel="preload" as="style" href="https://fonts.premi.st/ofl/Fira Code.css">
<link rel="preload" as="style" href="https://fonts.premi.st/ofl/Gothic A1 Medium.css">
<link rel="preload" as="style" href="https://fonts.premi.st/ofl/Gothic A1 SemiBold.css">
<link rel="preload" as="style" href="https://fonts.premi.st/ofl/Gothic A1 Bold.css">
<link rel="preload" as="style" href="https://fonts.premi.st/lfs/Lab Grotesque.css">
<link rel="preload" as="style" href="{{ $mainSass.Permalink }}">

<link rel="stylesheet" href="https://fonts.premi.st/ofl/Fira Code.css">
<link rel="stylesheet" href="https://fonts.premi.st/ofl/Gothic A1 Medium.css">
<link rel="stylesheet" href="https://fonts.premi.st/ofl/Gothic A1 SemiBold.css">
<link rel="stylesheet" href="https://fonts.premi.st/ofl/Gothic A1 Bold.css">
<link rel="stylesheet" href="https://fonts.premi.st/lfs/Lab Grotesque.css">

{{ $mainSass := resources.Get "styles/main.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $mainSass.Permalink }}">

<script async defer data-website-id="4cdb476c-5519-4742-9fcb-639cd24fe89d" src="https://umami.sapbox.me/umami.js"></script>
Expand Down

0 comments on commit b4a2a2b

Please sign in to comment.