Added a stylesheet to print the blog.
This commit is contained in:
parent
274b1c55ef
commit
a5c4591bc9
@ -28,7 +28,8 @@
|
|||||||
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
|
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
|
||||||
{{ $mainStyle := resources.Get "css/style.css" }}
|
{{ $mainStyle := resources.Get "css/style.css" }}
|
||||||
{{ $overrideStyle := resources.Get "css/override.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">
|
<link href="{{ $style.Permalink }}" rel="stylesheet">
|
||||||
{{ range .AlternativeOutputFormats -}}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
|
Loading…
Reference in New Issue
Block a user