aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-09-06 01:13:02 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-09-06 01:13:02 +0800
commit6a66b73a437ff4f5e450da2cf15a92e502bcd44a (patch)
tree4aeba4083570420f26f7957a863c845dc8c6f118 /layouts/partials/head.html
parent6c4998a1089bb16bf472359ab3f476c068fdca0a (diff)
refactor: move theme version param to template
delete version param in config.toml even.[version].css => even.min.css?v=[version] even.[version].js => even.min.js?v=[version] It's more convenient for users to update this theme.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0a93efb..66d34eb 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -51,8 +51,7 @@
<link rel="mask-icon" href="{{ "safari-pinned-tab.svg" | relURL }}" color="#5bbad5">
<!-- Styles -->
-{{ $themeVersion := .Site.Params.version }}
-<link href="{{ relURL (printf "dist/even.v%s.css" $themeVersion) }}" rel="stylesheet">
+<link href="{{ "dist/even.min.css?v=2.5.0" | relURL }}" rel="stylesheet">
{{ if .Site.Params.bootcdn -}}
{{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet">{{ end }}
{{ else -}}