diff --git a/themes/red/layouts/404.html b/themes/red/layouts/404.html index bbecdb3..90a926f 100644 --- a/themes/red/layouts/404.html +++ b/themes/red/layouts/404.html @@ -1,5 +1,6 @@ {{ define "main" }} -

Page not found!

+

Page not found!

+
{{ with resources.Get "404.webp" }} {{ $alt_text := "Sakura is confused about where the page went, or maybe where you shouldn't go." }} diff --git a/themes/red/layouts/_default/art-detail.html b/themes/red/layouts/_default/art-detail.html index e67545d..f36a19e 100644 --- a/themes/red/layouts/_default/art-detail.html +++ b/themes/red/layouts/_default/art-detail.html @@ -1,5 +1,9 @@ {{ define "main" }} -

{{ .Title }}

+ {{ with .Title }} +

{{ . }}

+ {{ else }} +

Untitled Artwork

+ {{ end }}
{{ with resources.Get .Params.filename }} @@ -107,7 +111,7 @@ {{ with .Content }}

Commentary

-

{{ . }}

+ {{ . }} {{ end }} {{ if .Params.threed }}