1
0
forked from extern/slate
slate/layouts/index.html
Gus Esquivel 30aba78291 better docs for site params
make the background param safer to use
2017-05-23 08:03:23 -05:00

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>