diff --git a/themes/buha/assets/css/layout.css b/themes/buha/assets/css/layout.css index 336e836e..32dbaa4c 100644 --- a/themes/buha/assets/css/layout.css +++ b/themes/buha/assets/css/layout.css @@ -196,7 +196,7 @@ article h3 { flex-direction: row; } - .text { + .text, #articleimage { margin-top: .5rem; display: flex; flex-direction: column; @@ -204,7 +204,6 @@ article h3 { margin-right: 1rem; max-width: 30%; min-width: 1rem; - height: 100%; } .notext { diff --git a/themes/buha/layouts/_default/single.html b/themes/buha/layouts/_default/single.html index 74d0fdcb..90ec0106 100644 --- a/themes/buha/layouts/_default/single.html +++ b/themes/buha/layouts/_default/single.html @@ -35,7 +35,11 @@
{{- if .Resources.ByType "image" -}} -
+ {{ if eq .Content "" }} +
+ {{ else }} +
+ {{ end }} {{ range .Resources.ByType "image" }} {{- $pic := . -}} {{- $thumb := $pic.Resize "1024x" }}