Skip to content

Commit 9f28885

Browse files
committed
Include all css statically in html
1 parent de4c8c6 commit 9f28885

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

templates/about.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{% extends "base.html" %}
22

33
{% block styles %}
4-
<link rel="stylesheet" href="home.css" />
4+
<style>
5+
{{ load_data(path="public/home.css") | safe }}
6+
</style>
57
{% endblock styles %}
68

79
{% block content %}

templates/blog.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{% extends "base.html" %}
22

33
{% block styles %}
4-
<link rel="stylesheet" href="/blog.css" />
4+
<style>
5+
{{ load_data(path="public/blog.css") | safe }}
6+
</style>
57
{% endblock styles %}
68

79
{% block content %}

0 commit comments

Comments
 (0)