aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-06-08 16:56:41 +0100
committerYann Herklotz <git@yannherklotz.com>2022-06-08 16:56:41 +0100
commitfd037b35eafafe0e7d3c22ed5cb027bbe729f416 (patch)
tree442393de7e4fe833c41fdd6fbf6a256e02c96cf6 /themes
parent1b7b284be67dd56fc5f0124e34a276e814a63dc2 (diff)
downloadyannherklotz.com-fd037b35eafafe0e7d3c22ed5cb027bbe729f416.tar.gz
yannherklotz.com-fd037b35eafafe0e7d3c22ed5cb027bbe729f416.zip
Remove extra loading
Diffstat (limited to 'themes')
-rw-r--r--themes/ymherklotz/layouts/partials/footer.html4
-rw-r--r--themes/ymherklotz/layouts/partials/head.html11
2 files changed, 7 insertions, 8 deletions
diff --git a/themes/ymherklotz/layouts/partials/footer.html b/themes/ymherklotz/layouts/partials/footer.html
index 425e73a..1c076c3 100644
--- a/themes/ymherklotz/layouts/partials/footer.html
+++ b/themes/ymherklotz/layouts/partials/footer.html
@@ -16,11 +16,11 @@
</footer>
{{ if .Site.Params.katex }}
<script defer
- src="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.min.js"
+ src="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js"
integrity="sha384-K3vbOmF2BtaVai+Qk37uypf7VrgBubhQreNQe9aGsz9lB63dIFiQVlJbr92dw2Lx"
crossorigin="anonymous"></script>
<script defer
- src="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/contrib/auto-render.min.js"
+ src="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/contrib/auto-render.min.js"
integrity="sha384-kmZOZB5ObwgQnS/DuDg6TScgOiWWBiVt0plIRkZCmE6rDZGrEOQeHM5PcHi+nyqe"
crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
{{ end }}
diff --git a/themes/ymherklotz/layouts/partials/head.html b/themes/ymherklotz/layouts/partials/head.html
index 669d52a..5369a8a 100644
--- a/themes/ymherklotz/layouts/partials/head.html
+++ b/themes/ymherklotz/layouts/partials/head.html
@@ -9,15 +9,13 @@
<link rel="canonical" href="{{ .Permalink }}" />
<link rel="icon" href="/favicon.ico" >
- <link href="https://fonts.googleapis.com/css?family=Libre+Baskerville&display=swap"
- rel="stylesheet">
{{ if .Site.Params.katex }}
- <link rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.min.css"
+ <link defer rel="stylesheet"
+ href="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"
integrity="sha384-9eLZqc9ds8eNjO3TmqPeYcDj8n+Qfa4nuSiGYa6DjLNcv9BtN69ZIulL9+8CqC9Y"
crossorigin="anonymous">
{{ end }}
- <link rel="stylesheet" href="{{ .Site.BaseURL }}/fontawesome/css/all.min.css" />
+ <link defer rel="stylesheet" href="{{ .Site.BaseURL }}/fontawesome/css/all.min.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/fonts.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax_dark.css" />
@@ -25,5 +23,6 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/default.css" />
{{ if .IsPage }}<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/blog.css" />{{ end }}
- <link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff2/iosevka-extrabold.woff2">
+ <link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff2/iosevka-bold.woff2">
+ <link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff/EBGaramond12-Regular.woff">
</head>