embed css
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
<meta charset="utf-8">
|
||||
{{ partial "html-meta.html" . -}}
|
||||
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||
{{ $css := resources.Get "_/styles.scss" | css.Sass (dict "enableSourceMap" false "transpiler" "dartsass") | resources.Fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||
{{ with resources.Get "_/styles.scss" | css.Sass (dict "enableSourceMap" false "transpiler" "dartsass" "outputStyle" "compressed") }}
|
||||
<style>{{ .Content | safeCSS }}</style>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.favicon -}}
|
||||
<link rel="shortcut icon" href="{{ . }}" type="image/x-icon">
|
||||
{{ end -}}
|
||||
|
||||
Reference in New Issue
Block a user