2018-07-27 00:02:49 +00:00
|
|
|
{{ partial "header/styles-highlight.html" . }}
|
2018-10-10 04:52:08 +00:00
|
|
|
|
|
|
|
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" true) }}
|
|
|
|
|
|
|
|
{{ $style := resources.Get "scss/hyde-hyde.scss" | toCSS $options | fingerprint }}
|
2018-11-09 23:44:02 +00:00
|
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
2018-10-10 04:52:08 +00:00
|
|
|
|
|
|
|
{{ $printStyle := resources.Get "scss/print.scss" | toCSS $options | fingerprint }}
|
2018-11-09 23:44:02 +00:00
|
|
|
<link rel="stylesheet" href="{{ $printStyle.RelPermalink }}" integrity="{{ $printStyle.Data.Integrity }}" media="print">
|
2018-10-10 04:52:08 +00:00
|
|
|
|
2018-09-29 23:32:57 +00:00
|
|
|
{{ with .Site.Params.toc }}
|
2018-10-10 04:52:08 +00:00
|
|
|
{{ if eq . "hugo" }}
|
|
|
|
{{ $hugoToc := resources.Get "scss/hugo-toc.scss" | toCSS $options | fingerprint }}
|
2018-11-09 23:44:02 +00:00
|
|
|
<link rel="stylesheet" href="{{ $hugoToc.RelPermalink }}" integrity="{{ $hugoToc.Data.Integrity }}">
|
2018-10-10 04:52:08 +00:00
|
|
|
{{ else if eq . "tocbot"}}
|
|
|
|
{{ $tocbot := resources.Get "scss/tocbot.scss" | toCSS $options | fingerprint }}
|
2018-11-09 23:44:02 +00:00
|
|
|
<link rel="stylesheet" href="{{ $tocbot.RelPermalink }}" integrity="{{ $tocbot.Data.Integrity }}">
|
2018-10-10 04:52:08 +00:00
|
|
|
{{ end }}
|
2018-09-29 23:32:57 +00:00
|
|
|
{{ end }}
|