From 76b0779f00d909ef277d1a676a94c1d4d4256c40 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Tue, 3 Mar 2020 19:42:10 +0100 Subject: [PATCH] Don't embed CSS in HTML --- layouts/_default/baseof.html | 5 ++--- layouts/partials/post_meta.html | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2157047..6573cc6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,9 +10,8 @@ {{ template "_internal/opengraph.html" . }} {{ template "_internal/schema.html" . }} {{ template "_internal/twitter_cards.html" . }} - + {{ $styles := resources.Get "css/style.scss" | toCSS | minify | fingerprint }} + {{ range .AlternativeOutputFormats }} diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 2f4a82c..ba1e845 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -5,12 +5,12 @@ {{ end }} {{ if not .Date.IsZero }}
- +
{{ end }} {{ if ne .Date .Lastmod }}
- +
{{ end }} {{ with .Param "indieweb.reply" }}