fix: Hugo 0.170.0 changes, SASS and Hugo deprecation warning
Website build and deploy / build (pull_request) Successful in 1m3s
Website build and deploy / build (pull_request) Successful in 1m3s
This commit is contained in:
6 files changed
+85
-24
No files matched your search
@@ -37,7 +37,7 @@
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>{{ site.Language.LanguageCode }}</language>
|
||||
<language>{{ site.Language.Locale }}</language>
|
||||
{{- with $authorEmail }}
|
||||
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>
|
||||
{{- end }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<html lang="{{ site.Language.Locale }}">
|
||||
<head>
|
||||
<!-- set variables -->
|
||||
{{- $title := "" -}}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{- end }}
|
||||
|
||||
<!-- Theme stylesheet, combination of all in assets/scss -->
|
||||
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
|
||||
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false "silenceDeprecations" (slice "import")) }}
|
||||
<link rel="stylesheet" href="{{ ($style).RelPermalink }}?v={{ md5 $style.Content }}">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
|
||||
Reference in new issue
Block a user