forked from extern/slate
30aba78291
make the background param safer to use
20 lines
675 B
HTML
20 lines
675 B
HTML
<html>
|
|
<head>
|
|
<title>{{ .Title }}</title>{{ if .Site.Params.Favicon }}
|
|
<link rel="shortcut icon" href="{{ .Site.Params.Favicon }}">{{ end }}
|
|
<link rel="stylesheet" href="css/slate.css">
|
|
</head>
|
|
|
|
<body{{ if .Site.Params.BackgroundStyle }} style='background: {{ .Site.Params.BackgroundStyle | safeCSS }};'{{ end }}
|
|
{{- if .Site.Params.BackgroundImages }} data-backgrounds='{{ range .Site.Params.BackgroundImages }}{{ . }},{{ end }}'{{- end }}>
|
|
|
|
{{ partial "nav.html" . }}
|
|
|
|
<div class="container">{{ partial "tile_slate.html" . }}
|
|
</div>
|
|
|
|
</body>
|
|
<link href="https://fonts.googleapis.com/css?family=Exo" rel="stylesheet">
|
|
<script src="js/slate.js"></script>
|
|
</html>
|