Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2017-04-17 19:34:32 +0300
committerThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2017-04-17 19:34:32 +0300
commit56dc904da84b20ee5a15fe7e66975a2fb22d7c93 (patch)
treec5ef04d332687001fea8b1ba938052017254edd7 /layouts/partials/head.html
parent558ef262b748816a12ba1f6da2f6ef4581d8f26d (diff)
Support abs URL for customJS and customCSS
fixes #155
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 501104f..516787b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -93,7 +93,7 @@
<link rel="stylesheet" href="/css/style-u6mk0ojoywresbx8iepslrmmhl4stuhrsxuwhkpwrkrx7mryjcaimasnk4pi.min.css" />
<!--STYLES END-->
{{ range .Site.Params.customCSS }}
- <link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
+ <link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}
{{ if .Params.ga.async }}