Skip to content

Commit

Permalink
change to hosting my own fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 6, 2024
1 parent 15bf4ed commit 996f1e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions static/style.css
Expand Up @@ -20,6 +20,11 @@
}
}

@font-face {
font-family: 'Barlow Condensed';
src: url('/fonts/BarlowCondensed-SemiBold.woff2') format('woff2');
}

body {
background-color: var(--background);
color: var(--primary);
Expand Down
4 changes: 0 additions & 4 deletions templates/base.html
Expand Up @@ -14,10 +14,6 @@
<link rel="canonical" href="{{ current_url | safe }}">
<meta name="description" content="{% block description %}{{ config.description }}{% endblock %}">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500&family=Source+Sans+3:wght@400;500;600&display=swap" rel="stylesheet">

{% block rss -%}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="index.xml", trailing_slash=false) | safe }}">
{% endblock -%}
Expand Down

0 comments on commit 996f1e7

Please sign in to comment.