Skip to content

Commit b953a38

Browse files
committed
fix: regression introduced due to cache busting
1 parent a7ebc6a commit b953a38

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% assets filters="cssmin", output="css/style.min.css",
2-
"css/elegant.prod.css",
2+
"css/elegant.prod.e4bd582858.css",
33
"css/custom.css" %}
44
<link rel="stylesheet" href="{{ SITEURL }}/{{ ASSET_URL }}">
55
{% endassets %}

templates/base.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<link href="https://fonts.googleapis.com/css?family=PT+Mono|PT+Sans|PT+Serif|PT+Serif+Caption&display=swap" rel="stylesheet">
7+
{% block head_links %}
8+
{% if 'assets' in PLUGINS %}
9+
{% include '_includes/minify_css.html' with context %}
10+
{% else %}
11+
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/elegant.prod.e4bd582858.css" media="screen">
12+
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/custom.css" media="screen">
13+
{% endif %}
14+
{% endblock head_links %}
815
<link rel="dns-prefetch" href="//fonts.googleapis.com">
916
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
1017

@@ -38,14 +45,6 @@
3845
<meta name="twitter:card" content="summary">
3946
{% endblock meta_tags_in_head %}
4047
<title>{% block title %}{{ SITENAME|striptags|e }}{% endblock title %}</title>
41-
{% block head_links %}
42-
{% if 'assets' in PLUGINS %}
43-
{% include '_includes/minify_css.html' with context %}
44-
{% else %}
45-
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/elegant.prod.e4bd582858.css" media="screen">
46-
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/custom.css" media="screen">
47-
{% endif %}
48-
{% endblock head_links %}
4948
{% include '_includes/favicon_links.html' %}
5049
{% block feed_links %}
5150
{% include '_includes/feeds.html' %}

0 commit comments

Comments
 (0)