Skip to content

Commit

Permalink
append build revision to stylesheet path to break cache
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Dec 14, 2016
1 parent 8992dce commit eef8edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title>

<link href='https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

Expand Down

0 comments on commit eef8edd

Please sign in to comment.