From 6a66b73a437ff4f5e450da2cf15a92e502bcd44a Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Wed, 6 Sep 2017 01:13:02 +0800
Subject: 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.
---
layouts/partials/head.html | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
(limited to 'layouts/partials/head.html')
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 @@
-{{ $themeVersion := .Site.Params.version }}
-
+
{{ if .Site.Params.bootcdn -}}
{{ if .Site.Params.fancybox }}{{ end }}
{{ else -}}
--
cgit v1.2.3