From 1d79e2d4773007819591cc59852f63b052d1a793 Mon Sep 17 00:00:00 2001
From: Daniele Ricci <daniele@casaricci.it>
Date: Wed, 19 Sep 2018 16:55:38 +0000
Subject: [PATCH] Use relative url function for custom CSS files (#132)
---
layouts/_default/baseof.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 7d0b40c..e737b48 100755
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -23,7 +23,7 @@
{{ end }}
{{ range .Site.Params.custom_css }}
- <link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
+ <link rel="stylesheet" href="{{ relURL ($.Site.BaseURL) }}{{ . }}">
{{ end }}
{{ block "favicon" . }}
--
Gitblit v1.10.0