fix .tocss deprecation
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m30s
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m30s
This commit is contained in:
parent
639eaa88bc
commit
560a0629db
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