diff options
author | KhanhIceTea <khanhicetea@gmail.com> | 2018-08-08 06:40:48 +0300 |
---|---|---|
committer | KhanhIceTea <khanhicetea@gmail.com> | 2018-08-08 06:40:48 +0300 |
commit | 34944edab309c7727a6432052d492bb97f6b45b8 (patch) | |
tree | e8886dd41f5c5cf96a413e0ae4266007a6e264af | |
parent | a5dfa157e83a55970d49ddd2bfa40c35d8c708b6 (diff) |
Add Epoch Timestamp to asset query string
-rw-r--r-- | layouts/partials/head.html | 4 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 75a4e1e..784388f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,9 +16,9 @@ <link rel="stylesheet" id="ct-tracks-google-fonts-css" href="//fonts.googleapis.com/css?family=Raleway%3A400%2C700&subset=latin%2Clatin-ext&ver=4.7.2" type="text/css" media="all"> <link rel="stylesheet" href="{{ "css/font-awesome.min.css" | absURL }}" type='text/css' media='all'> <!-- Theme stylesheet, if possible do not edit this stylesheet --> -<link href="{{ "css/style.css" | absURL }}" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'> +<link href="{{ "css/style.css" | absURL }}?v={{ now.Unix }}" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'> <!-- Custom stylesheet - for your changes --> -<link href="{{ "css/custom.css" | absURL }}" rel="stylesheet" type='text/css' media='all'> +<link href="{{ "css/custom.css" | absURL }}?v={{ now.Unix }}" rel="stylesheet" type='text/css' media='all'> <link rel="shortcut icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon"> <link rel="icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon"> {{ if .RSSLink }} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 8dbc880..b78b696 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1,3 +1,3 @@ <script src="{{ "js/jquery.min.js" | absURL }}"></script> <script src="{{ "js/jquerymigrate.js" | absURL }}"></script> -<script src="{{ "js/production.min.js" | absURL }}"></script> +<script src="{{ "js/production.min.js" | absURL }}?v={{ now.Unix }}"></script> |