{{ range $links := . }}
{{ range $name, $url := $links }}
diff --git a/themes/blowfish/layouts/partials/author.html b/themes/blowfish/layouts/partials/author.html
index 53fd9be..233f0e1 100644
--- a/themes/blowfish/layouts/partials/author.html
+++ b/themes/blowfish/layouts/partials/author.html
@@ -1,6 +1,6 @@
{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
- {{ with .Site.Author.image }}
+ {{ with .Site.Params.Author.image }}
{{ $authorImage := "" }}
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
{{ $authorImage = resources.GetRemote . }}
@@ -12,18 +12,18 @@
{{ $authorImage = $authorImage.Fill "192x192" }}
{{ end }}
+ alt="{{ $.Site.Params.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" />
{{ else }}
{{ $authorImage := resources.GetRemote . }}
{{ if not $disableImageOptimization }}
{{ $authorImage = $authorImage.Fill "192x192" }}
{{ end }}
+ alt="{{ $.Site.Params.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" />
{{ end }}
{{ end }}
- {{ with .Site.Author.name | markdownify }}
+ {{ with .Site.Params.Author.name | markdownify }}
{{ i18n "author.byline_title" | markdownify }}
@@ -31,7 +31,7 @@
{{ . }}
{{ end }}
- {{ with .Site.Author.bio | markdownify }}
+ {{ with .Site.Params.Author.bio | markdownify }}
{{ . }}
{{ end }}
{{ partialCached "author-links.html" . }}
diff --git a/themes/blowfish/layouts/partials/footer.html b/themes/blowfish/layouts/partials/footer.html
index d31cecd..cce8ae9 100644
--- a/themes/blowfish/layouts/partials/footer.html
+++ b/themes/blowfish/layouts/partials/footer.html
@@ -31,7 +31,7 @@
{{- else }}
©
{{ now.Format "2006" }}
- {{ .Site.Author.name | markdownify }}
+ {{ .Site.Params.Author.name | markdownify }}
{{- end }}
{{ end }}
diff --git a/themes/blowfish/layouts/partials/head.html b/themes/blowfish/layouts/partials/head.html
index f59e9dc..a1c4b30 100644
--- a/themes/blowfish/layouts/partials/head.html
+++ b/themes/blowfish/layouts/partials/head.html
@@ -74,7 +74,8 @@
}}">
{{ end }}
{{ if not .Site.Params.disableImageZoom | default true }}
-
+ {{ $zoomJS := resources.Get "lib/zoom/zoom.min.js" | resources.Fingerprint "sha512" }}
+
{{ end }}
{{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }}
@@ -104,9 +105,9 @@
{{/* Schema */}}
{{ partial "schema.html" . }}
{{/* Me */}}
- {{ with .Site.Author.name }}
+ {{ with .Site.Params.Author.name }}
{{ end }}
- {{ with .Site.Author.links }}
+ {{ with .Site.Params.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}
{{ end }}
diff --git a/themes/blowfish/layouts/partials/header/basic.html b/themes/blowfish/layouts/partials/header/basic.html
index 6b2c6fa..caf69fa 100644
--- a/themes/blowfish/layouts/partials/header/basic.html
+++ b/themes/blowfish/layouts/partials/header/basic.html
@@ -7,8 +7,14 @@
{{ .Site.Title | markdownify }}
+ {{ if eq $logo.MediaType.SubType "svg" }}
+
+ {{ $logo.Content | safeHTML }}
+
+ {{ else }}
+ {{ end }}
diff --git a/themes/blowfish/layouts/partials/hero/background.html b/themes/blowfish/layouts/partials/hero/background.html
index 1f6e3fb..6679950 100644
--- a/themes/blowfish/layouts/partials/hero/background.html
+++ b/themes/blowfish/layouts/partials/hero/background.html
@@ -41,7 +41,7 @@
style="background-image:url({{ .RelPermalink }});">
{{ end }}
{{ else }}
- {{ with .Resize "1200x" }}
+ {{ with .Resize (print ($.Site.Params.backgroundImageWidth | default "1200") "x") }}
{{ end }}
diff --git a/themes/blowfish/layouts/partials/hero/basic.html b/themes/blowfish/layouts/partials/hero/basic.html
index 4d01bb2..f192800 100644
--- a/themes/blowfish/layouts/partials/hero/basic.html
+++ b/themes/blowfish/layouts/partials/hero/basic.html
@@ -26,7 +26,7 @@
{{ end }}
{{ else }}
- {{ with .Resize "1200x" }}
+ {{ with .Resize (print ($.Site.Params.backgroundImageWidth | default "1200") "x") }}
{{ end }}
{{ end }}
diff --git a/themes/blowfish/layouts/partials/hero/big.html b/themes/blowfish/layouts/partials/hero/big.html
index 4b61b83..60e5977 100644
--- a/themes/blowfish/layouts/partials/hero/big.html
+++ b/themes/blowfish/layouts/partials/hero/big.html
@@ -48,7 +48,7 @@
{{ end }}
{{ else }}
- {{ with .Resize "1200x" }}
+ {{ with .Resize (print ($.Site.Params.backgroundImageWidth | default "1200") "x") }}
{{ end }}
{{ else }}
-{{ with .Resize "1200x" }}
+{{ with .Resize (print ($.Site.Params.backgroundImageWidth | default "1200") "x") }}