summaryrefslogtreecommitdiff
path: root/layouts/partials/css.tmpl
diff options
context:
space:
mode:
authorHorus32016-11-22 15:51:13 +0100
committerHorus32016-11-22 15:51:13 +0100
commitf49b160a5283d13f5f8ce9af95b987d2556883f1 (patch)
tree2da4359076606ee01e89db5ce44827a0acd79f60 /layouts/partials/css.tmpl
parentb3c8fe94e1ef9686a97662c2e4fb4b4e70006a20 (diff)
downloadiamfabulous.de-f49b160a5283d13f5f8ce9af95b987d2556883f1.tar.gz
Add new subpage for µhttpd.
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"}}