From 4ec1ff26e00afbfa97d09dac203763f9b266af6c Mon Sep 17 00:00:00 2001 From: MultiMote Date: Sat, 7 Jan 2023 11:09:28 +0300 Subject: [PATCH] =?UTF-8?q?'=20=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BD=D0=B0=20"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/mmotium/layouts/_default/_markup/render-image.html | 8 ++++---- themes/mmotium/layouts/index.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/mmotium/layouts/_default/_markup/render-image.html b/themes/mmotium/layouts/_default/_markup/render-image.html index de6fa55..7c0aeeb 100644 --- a/themes/mmotium/layouts/_default/_markup/render-image.html +++ b/themes/mmotium/layouts/_default/_markup/render-image.html @@ -2,7 +2,7 @@ {{/* Remote image */ -}} {{ if or (hasPrefix .Destination "https://") (hasPrefix .Destination "http://") }} - {{.Text}} + {{.Text}} {{/* Local image */ -}} {{ else }} @@ -11,13 +11,13 @@ {{ if $img -}} {{ if in $resizeMimes $img.MediaType.Type -}} - {{.Text}} + {{.Text}} {{- else -}} - {{.Text}} + {{.Text}} {{- end -}} {{- else -}} - {{.Text}} + {{.Text}} {{- end -}} {{- end -}} diff --git a/themes/mmotium/layouts/index.html b/themes/mmotium/layouts/index.html index 86c2251..b00b1c3 100644 --- a/themes/mmotium/layouts/index.html +++ b/themes/mmotium/layouts/index.html @@ -13,7 +13,7 @@ {{- $thumb := .Page.Resources.Get .Params.featured_image -}} {{if $thumb}} - + {{end}}