Skip to content

Commit a26cf57

Browse files
committed
append build revision to stylesheet path to break cache
1 parent dada374 commit a26cf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: _layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="chrome=1">
77
<meta name="description" content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}">
88

9-
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css' | relative_url }}">
9+
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
1010

1111
<title>{{ site.title | default: site.github.repository_name }}</title>
1212
</head>

0 commit comments

Comments
 (0)