blob: a3a06e7b751b1bd60dff3aae4177bd5d73a58360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<head>
{{ partial "head/general" . }}
{{ with $.Params.slide }}
{{ $cssMain := absURL "/revealjs-v3.9.2/css/reveal.css" }}
{{ $cssTheme := absURL "/revealjs-v3.9.2/css/theme/white.css" }}
<link rel="stylesheet" href="{{ $cssMain }}">
<link rel="stylesheet" href="{{ $cssTheme }}">
{{ else }}
<style>
{{ $bulmaCSS := resources.Get "scss/bulma.scss" | toCSS | minify }}
{{ $bulmaCSS.Content | safeCSS }}
{{ $syntaxCSS := resources.Get "css/syntax.css" | toCSS | minify }}
{{ $syntaxCSS.Content | safeCSS }}
{{ $themeCSS := resources.Get "scss/style.scss" | toCSS | minify }}
{{ $themeCSS.Content | safeCSS }}
</style>
{{ end }}
</head>
|