Skip to content

Commit

Permalink
Remove obsolete/duplicate code from header
Browse files Browse the repository at this point in the history
Signed-off-by: Anneke Sinnema <mail@annekesinnema.nl>
  • Loading branch information
anneke committed Oct 20, 2024
1 parent 79052f2 commit 5ec4492
Showing 1 changed file with 1 addition and 56 deletions.
57 changes: 1 addition & 56 deletions src/_includes/partials/utility/html-head.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -27,62 +27,7 @@
{% endif %}
{%- endfor -%}

<style>
@font-face {
font-family: "Fabrik";
src: url("/assets/fonts/Fabrik-Regular.woff2") format("woff2");
font-weight: normal;
font-display: swap;
}
@font-face {
font-family: "Fabrik";
src: url("/assets/fonts/Fabrik-Bold.woff2") format("woff2");
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/assets/fonts/Roboto-Regular.woff2") format("woff2");
font-weight: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/assets/fonts/Roboto-Bold.woff2") format("woff2");
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/assets/fonts/Roboto-Italic.woff2") format("woff2");
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/assets/fonts/Roboto-BoldItalic.woff2") format("woff2");
font-weight: bold;
font-style: italic;
font-display: swap;
}
</style>

<link rel="stylesheet" id="dynamic-css" href="/assets/css/style.css?v=">

<script>
const linkElement = document.getElementById('dynamic-css');
const randomString = (Math.random() + 1).toString(36).substring(7);
linkElement.href += randomString;
</script>

<link rel="preload" as="font" href="/assets/fonts/Fabrik-Bold.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/assets/fonts/Roboto-Regular.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="stylesheet" href="/assets/css/style.css?v=">

{% if locale == 'nl' %}
<link rel="alternate" type="application/atom+xml" title="Fronteers blog" href="https://fronteers.nl/feeds/blog.xml">
Expand Down

0 comments on commit 5ec4492

Please sign in to comment.