Added a stylesheet to print the blog.

This commit is contained in:
nono 2021-01-03 17:49:52 +01:00
parent 274b1c55ef
commit a5c4591bc9

View File

@ -28,7 +28,8 @@
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
{{ $mainStyle := resources.Get "css/style.css" }}
{{ $overrideStyle := resources.Get "css/override.css" }}
{{ $style := slice $normalizeStyle $mainStyle $overrideStyle | resources.Concat "css/concated.css" | minify }}
{{ $printStyle := resources.Get "css/print.css" }}
{{ $style := slice $normalizeStyle $mainStyle $overrideStyle $printStyle | resources.Concat "css/concated.css" | minify }}
<link href="{{ $style.Permalink }}" rel="stylesheet">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}