diff --git a/layouts/404.html b/layouts/404.html
index 38a201d..4739c64 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,14 +1,12 @@
{{ define "main" }}
-
-
-
+
{{- partial "svg.html" (dict "context" . "name" "404-lighthouse") -}}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index f44d642..108853f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,15 +1,20 @@
-
-{{- partial "analytics.html" . }}
+{{- partial "analytics.html" . -}}
+
-{{- with .Site.Params.themeColor }}
+
+
+{{ $author := (.Params.author | default .Site.Params.author.name) -}}
+
+{{ with .Site.Params.themeColor -}}
{{- end -}}
+{{- with .Params.description -}}{{- end -}}
{{- partial "structured-data.html" . -}}
{{- partial "favicons.html" -}}
{{.Title}}
@@ -19,21 +24,19 @@
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}}
{{- range .Params.custom_css -}}{{- end -}}
-{{- block "head" . -}}{{- end }}
-{{- if templates.Exists "partials/extra-head.html" -}}{{ partial "extra-head.html" . }}{{- end }}
-
-
+{{- block "head" . -}}{{- end -}}
+{{- if templates.Exists "partials/extra-head.html" -}}{{- partial "extra-head.html" . -}}{{- end -}}
- {{ block "header" . -}}{{ end -}}
- {{ block "main" . -}}{{ end -}}
- {{ block "footer" . -}}{{ end }}
- {{ partial "scroll-to-top.html" . }}
- {{ $main := resources.Get "js/main.js" -}}
- {{ if .Site.Params.code_copy_button | default true -}}
+ {{- block "header" . -}}{{ end -}}
+ {{- block "main" . -}}{{ end -}}
+ {{- block "footer" . -}}{{ end }}
+ {{- partial "scroll-to-top.html" . }}
+ {{- $main := resources.Get "js/main.js" -}}
+ {{- if .Site.Params.code_copy_button | default true -}}
{{ $codeCopy := resources.Get "js/code-copy.js" -}}
{{ $script := slice $main $codeCopy | resources.Concat "js/bundle.js" | minify | fingerprint -}}
- {{ else -}}
+ {{- else -}}
{{ $script := $main | minify | fingerprint -}}
{{- end -}}
@@ -41,9 +44,9 @@
{{ $linkshare := resources.Get "js/link-share.js" | minify | fingerprint -}}
{{- end -}}
- {{ range .Params.custom_js -}}{{- end }}
- {{ partial "mathjax.html" . }}
- {{- if templates.Exists "partials/extra-foot.html" -}}{{ partial "extra-foot.html" . }}{{- end }}
+ {{- range .Params.custom_js -}}{{- end }}
+ {{- partial "mathjax.html" . -}}
+ {{- if templates.Exists "partials/extra-foot.html" -}}{{- partial "extra-foot.html" . -}}{{- end }}