From 4a2676396cb0a991dae12018be96462b3eec27f5 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Thu, 31 Aug 2017 00:18:22 +0800
Subject: fix: always use relURL
---
layouts/partials/head.html | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
(limited to 'layouts/partials/head.html')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0310b16..0a93efb 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -43,19 +43,20 @@
{{ end -}}
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+{{ $themeVersion := .Site.Params.version }}
+
{{ if .Site.Params.bootcdn -}}
{{ if .Site.Params.fancybox }}{{ end }}
{{ else -}}
- {{ if .Site.Params.fancybox }}{{ end }}
+ {{ if .Site.Params.fancybox }}{{ end }}
{{- end }}
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
@@ -66,6 +67,6 @@
{{ `` | safeHTML }}
--
cgit v1.2.3