summaryrefslogtreecommitdiff
path: root/layouts/partials/css.tmpl
diff options
context:
space:
mode:
authorHorus32016-10-22 12:20:46 +0200
committerHorus32016-10-22 12:20:46 +0200
commit6c577a65339ac597ac622fb839393f931562cf8e (patch)
tree04d56b6a7f3e0783d391e614d2c09e813dc2919f /layouts/partials/css.tmpl
parentc15893f16dcc694db3b064a77272d9c0da9be2c1 (diff)
downloadiamfabulous.de-6c577a65339ac597ac622fb839393f931562cf8e.tar.gz
Fix the projects page, improves the piwik script, concats the assets with gulp and styles the 404 template.
Diffstat (limited to 'layouts/partials/css.tmpl')
-rw-r--r--layouts/partials/css.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/css.tmpl b/layouts/partials/css.tmpl
index a10e818..45efad7 100644
--- a/layouts/partials/css.tmpl
+++ b/layouts/partials/css.tmpl
@@ -6,6 +6,11 @@
<link href="/custom.css" rel="stylesheet" type="text/css">
{{else}}
<style>
- {{readFile "static/gulp.css/concat.css" | safeCSS}}
+ {{$tmp := getenv "HUGO_GULP"}}
+ {{if eq $tmp "1"}}
+ {{readFile "static/gulp.css/concat.css" | safeCSS}}
+ {{else}}
+ {{readFile "static/concat.css" | safeCSS}}
+ {{end}}
</style>
{{end}}