Skip to content

Commit

Permalink
append revision to stylesheet URL to break cache
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Dec 14, 2016
1 parent 5fb001c commit 561c18a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title | default: site.title | default: site.github.repository_name }}</title>
<link href="{{ "assets/css/style.css" | absolute_url }}" rel="stylesheet">
<link href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" rel="stylesheet">
</head>
<body>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-primer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = "jekyll-theme-primer"
s.version = "0.1.3"
s.version = "0.1.4"
s.authors = ["GitHub, Inc."]
s.email = ["open-source@github.com"]
s.homepage = "https://github.com/benbalter/jekyll-theme-primer"
Expand Down

0 comments on commit 561c18a

Please sign in to comment.