summaryrefslogtreecommitdiff
path: root/layouts/partials/css.tmpl
blob: ef7a9ca80199f222bfe60e941098d14dc392fe76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{$tmp := getenv "HUGO_TEST"}}
{{if eq $tmp "1"}}
	<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"}}
	{{if eq $tmp "1"}}
		{{readFile "static/gulp.css/concat.css" | safeCSS}}
	{{else}}
		{{readFile "static/concat.css" | safeCSS}}
	{{end}}
	</style>
{{end}}