diff options
Diffstat (limited to 'themes/flamingo/layouts/_default')
-rw-r--r-- | themes/flamingo/layouts/_default/baseof.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/themes/flamingo/layouts/_default/baseof.html b/themes/flamingo/layouts/_default/baseof.html index f81dcf1..0be16e5 100644 --- a/themes/flamingo/layouts/_default/baseof.html +++ b/themes/flamingo/layouts/_default/baseof.html @@ -5,17 +5,16 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - - <link rel="stylesheet" type="text/css" href="/css/all.css" /> - {{ with .Site.Params.favicon }}<link rel="icon" type="image/png" href="{{ . }}" />{{ end }} <title itemprop="name"> {{ .Title }} </title> {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }} {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }} - {{ $styles := resources.Get "scss/main.scss" | resources.ToCSS | minify | fingerprint}} - <link rel="stylesheet" href="{{ $styles.RelPermalink }}" media="screen"> + {{ with resources.Get "scss/main.scss" | toCSS | minify }} + <style>{{ .Content | safeCSS }}</style> + {{ end }} + {{ partial "meta" . }} </head> <body> |