summaryrefslogtreecommitdiff
path: root/layouts/partials/css.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/css.tmpl')
-rw-r--r--layouts/partials/css.tmpl12
1 files changed, 8 insertions, 4 deletions
diff --git a/layouts/partials/css.tmpl b/layouts/partials/css.tmpl
index 45efad7..ef7a9ca 100644
--- a/layouts/partials/css.tmpl
+++ b/layouts/partials/css.tmpl
@@ -1,9 +1,13 @@
{{$tmp := getenv "HUGO_TEST"}}
{{if eq $tmp "1"}}
-<link href="/normalize.css" rel="stylesheet" type="text/css">
-<link href="/skeleton.css" rel="stylesheet" type="text/css">
-<link href="/font.css" rel="stylesheet" type="text/css">
-<link href="/custom.css" rel="stylesheet" type="text/css">
+ <link href="{{$.Site.BaseURL}}normalize.css" rel="stylesheet" type="text/css">
+ <link href="{{$.Site.BaseURL}}font.css" rel="stylesheet" type="text/css">
+ <link href="{{$.Site.BaseURL}}skeleton.css" rel="stylesheet" type="text/css">
+ <!--link href="/font.css" rel="stylesheet" type="text/css"-->
+
+ {{ if not ($.Scratch.Get "NoCustomCSS") }}
+ <link href="{{$.Site.BaseURL}}custom.css" rel="stylesheet" type="text/css">
+ {{end}}
{{else}}
<style>
{{$tmp := getenv "HUGO_GULP"}}