Skip to content

Commit

Permalink
fix: regression introduced due to cache busting
Browse files Browse the repository at this point in the history
  • Loading branch information
talha131 committed Feb 3, 2020
1 parent a7ebc6a commit b953a38
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion templates/_includes/minify_css.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% assets filters="cssmin", output="css/style.min.css",
"css/elegant.prod.css",
"css/elegant.prod.e4bd582858.css",
"css/custom.css" %}
<link rel="stylesheet" href="{{ SITEURL }}/{{ ASSET_URL }}">
{% endassets %}
17 changes: 8 additions & 9 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=PT+Mono|PT+Sans|PT+Serif|PT+Serif+Caption&display=swap" rel="stylesheet">
{% block head_links %}
{% if 'assets' in PLUGINS %}
{% include '_includes/minify_css.html' with context %}
{% else %}
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/elegant.prod.e4bd582858.css" media="screen">
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/custom.css" media="screen">
{% endif %}
{% endblock head_links %}
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>

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

0 comments on commit b953a38

Please sign in to comment.