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 e004564 commit 77d10ee
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 @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=640">

<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}" media="screen">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" media="screen">
<link rel="stylesheet" href="{{ '/assets/css/mobile.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
<link rel="stylesheet" href="{{ '/assets/css/non-screen.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">

Expand Down

0 comments on commit 77d10ee

Please sign in to comment.