From a5c4591bc9933629661edc02e8632ecc2bef9dc6 Mon Sep 17 00:00:00 2001 From: nono Date: Sun, 3 Jan 2021 17:49:52 +0100 Subject: [PATCH] Added a stylesheet to print the blog. --- layouts/partials/head.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c7cd079..c0ae0ad 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -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 }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}