Skip to content

Commit 0c4fb31

Browse files
committed
use asset hash
1 parent 2ae5d2c commit 0c4fb31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def t(id, replacements = {})
7474
# activate :minify_javascript
7575

7676
# Enable cache buster
77-
# activate :asset_hash
77+
activate :asset_hash
7878

7979
# Use relative URLs
8080
# activate :relative_assets

source/layouts/layout.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" name="viewport">
77
<meta content="<%= t('header.title') %>" name="description">
88
<title><%= t('header.title') %></title>
9-
<link href="stylesheets/style.css" rel="stylesheet">
9+
<link href="<%= asset_url('stylesheets/style.css') %>" rel="stylesheet">
1010
<script src="//use.typekit.net/vvs3qav.js"></script>
1111
<script>try{Typekit.load();}catch(e){}</script>
1212
</head>

0 commit comments

Comments
 (0)