Don't embed CSS in HTML
This commit is contained in:
parent
262e6bd95a
commit
76b0779f00
|
@ -10,9 +10,8 @@
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
{{ template "_internal/schema.html" . }}
|
{{ template "_internal/schema.html" . }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
<style>
|
{{ $styles := resources.Get "css/style.scss" | toCSS | minify | fingerprint }}
|
||||||
{{ with resources.Get "css/style.scss" | resources.ToCSS | minify }}{{ .Content | safeCSS }}{{ end }}
|
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}">
|
||||||
</style>
|
|
||||||
<link rel="shortcut icon" href="{{ .Site.Params.favicon }}">
|
<link rel="shortcut icon" href="{{ .Site.Params.favicon }}">
|
||||||
{{ range .AlternativeOutputFormats }}
|
{{ range .AlternativeOutputFormats }}
|
||||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if not .Date.IsZero }}
|
{{ if not .Date.IsZero }}
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<time class="dt-published" datetime="{{.Date.Format "2006-01-02 15:04"}}"><a class="u-url" href="{{ .RelPermalink }}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</a></time>
|
<time class="dt-published" datetime="{{.Date.Format "2006-01-02T15:04:05Z07:00"}}"><a class="u-url" href="{{ .RelPermalink }}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</a></time>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if ne .Date .Lastmod }}
|
{{ if ne .Date .Lastmod }}
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<time class="dt-updated" datetime="{{.Lastmod.Format "2006-01-02 15:04"}}">{{ T "meta_lastmod" }}: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
|
<time class="dt-updated" datetime="{{.Lastmod.Format "2006-01-02T15:04:05Z07:00"}}">{{ T "meta_lastmod" }}: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Param "indieweb.reply" }}
|
{{ with .Param "indieweb.reply" }}
|
||||||
|
|
Reference in New Issue