summaryrefslogtreecommitdiff
path: root/layouts/partials/header.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.tmpl')
-rw-r--r--layouts/partials/header.tmpl10
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/partials/header.tmpl b/layouts/partials/header.tmpl
index 47ee061..5737464 100644
--- a/layouts/partials/header.tmpl
+++ b/layouts/partials/header.tmpl
@@ -4,7 +4,9 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, minimumscale=1.0, maximum-scale=1.0" />
<title>moehring | {{.Title}}</title>
-{{partial "favicon.tmpl"}}
-{{partial "css.tmpl"}}
-</head>
-<body>
+{{ if not ($.Scratch.Get "NoCustomCSS") }}
+ {{partial "css.tmpl" .}}
+ {{partial "favicon.tmpl"}}
+ </head>
+ <body>
+{{end}}