fix .tocss deprecation (#313)
fixes #283 Reviewed-on: #313 Co-authored-by: paspo <paolo@asperti.com> Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
parent
164f69ae43
commit
4662d6f842
9
layouts/partials/head/head.html
Normal file
9
layouts/partials/head/head.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" .Site.Params.enableSourceMaps) }}
|
||||
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass $options }}
|
||||
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
|
||||
{{- partial "analytics/google-tag-manager/head.html" . -}}
|
||||
{{- partial "head/custom.html" . -}}
|
||||
{{- template "_internal/twitter_cards.html" . -}}
|
Loading…
x
Reference in New Issue
Block a user