Skip to content

Commit

Permalink
Another trial
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotes committed May 30, 2024
1 parent 9c134c1 commit 6813f4b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions hugo/themes/hugo-geekdoc/layouts/partials/head/others.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<script src="/js/darkmode.min.js"></script>
<script src="/{{ index .Site.Data.assets "js/darkmode.min.js" | relURL }}"></script>

<link rel="preload" as="font" href="{{ "fonts/Metropolis.woff2" | relURL }}" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="{{ "fonts/LiberationSans.woff2" | relURL }}" type="font/woff2" crossorigin="anonymous">

<link rel="preload" href="/main.min.css" as="style">
<link rel="stylesheet" href="/main.min.css" media="all">
<link rel="preload" href="/{{ index .Site.Data.assets "main.min.css" | relURL }}" as="style">
<link rel="stylesheet" href="/{{ index .Site.Data.assets "main.min.css" | relURL }}" media="all">

<link rel="preload" href="/mobile.min.css" as="style">
<link rel="stylesheet" href="/mobile.min.css" media="screen and (max-width: 45rem)">
<link rel="preload" href="/{{ index .Site.Data.assets "mobile.min.css" | relURL }}" as="style">
<link rel="stylesheet" href="/{{ index .Site.Data.assets "mobile.min.css" | relURL }}" media="screen and (max-width: 45rem)">

<link rel="preload" href="/print.min.css" as="style">
<link rel="stylesheet" href="/print.min.css" media="print">
<link rel="preload" href="/{{ index .Site.Data.assets "print.min.css" | relURL }}" as="style">
<link rel="stylesheet" href="/{{ index .Site.Data.assets "print.min.css" | relURL }}" media="print">

<link rel="preload" href="/custom.css" as="style">
<link rel="stylesheet" href="/custom.css" media="all">
<link rel="preload" href="/{{ index .Site.Data.assets "custom.css" | relURL }}" as="style">
<link rel="stylesheet" href="/{{ index .Site.Data.assets "custom.css" | relURL }}" media="all">

{{ if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }}
<base href="{{ .Site.BaseURL }}">
Expand Down

0 comments on commit 6813f4b

Please sign in to comment.