Skip to content

Commit 65a20a9

Browse files
committed
Move some inline styles to stylesheet
1 parent 4726436 commit 65a20a9

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed

sass/custom.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.logo {
2+
font-family: 'Inter', serif;
3+
}

templates/blog.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{% import "_macros2.html" as macros2 %}
33

44
{% block head %}
5+
<link rel="stylesheet" href="{{ get_url(path="custom.css") }}">
56
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
67
{% endblock head %}
78

@@ -13,11 +14,6 @@
1314
{% block title %}{{ section.title }} | {{ super() }} {% endblock title %}
1415

1516
{% block header %}
16-
<style>
17-
.logo {
18-
font-family: 'Inter', serif;
19-
}
20-
</style>
2117
{{ macros2::hide_logo_img() }}
2218

2319
<header class="box-shadow">

templates/changelog.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{% import "_macros2.html" as macros2 %}
33

44
{% block head %}
5+
<link rel="stylesheet" href="{{ get_url(path="custom.css") }}">
56
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
67
{% endblock head %}
78

@@ -13,11 +14,6 @@
1314
{% block title %}{{ page.title }} | {{ super() }} {% endblock title %}
1415

1516
{% block header %}
16-
<style>
17-
.logo {
18-
font-family: 'Inter', serif;
19-
}
20-
</style>
2117
{{ macros2::hide_logo_img() }}
2218
<header class="box-shadow">
2319
{{ macros::render_header() }}

templates/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{% import "_macros2.html" as macros2 %}
33

44
{% block head %}
5+
<link rel="stylesheet" href="{{ get_url(path="custom.css") }}">
56
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
67
{% endblock head %}
78

@@ -14,9 +15,6 @@
1415
<script async defer src="https://buttons.github.io/buttons.js"></script>
1516
{{ macros2::hide_logo() }}
1617
<style>
17-
.logo {
18-
font-family: 'Inter', serif;
19-
}
2018
.hero section {
2119
padding: 0 5rem;
2220
}

templates/page.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{% import "_macros2.html" as macros2 %}
33

44
{% block head %}
5+
<link rel="stylesheet" href="{{ get_url(path="custom.css") }}">
56
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
67
{% endblock head %}
78

@@ -13,11 +14,6 @@
1314
{% block title %}{{ page.title }} | {{ super() }} {% endblock title %}
1415

1516
{% block header %}
16-
<style>
17-
.logo {
18-
font-family: 'Inter', serif;
19-
}
20-
</style>
2117
{{ macros2::hide_logo_img() }}
2218
<header class="box-shadow">
2319
{{ macros::render_header() }}

0 commit comments

Comments
 (0)