Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/spech66/bootstrap-bp-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/content_card_header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/content_card_header.html b/layouts/partials/content_card_header.html
index 89cdf56..fd374a7 100644
--- a/layouts/partials/content_card_header.html
+++ b/layouts/partials/content_card_header.html
@@ -22,7 +22,7 @@
{{ $thumb := .Resize "1108x" }}
<img class="card-img-top" src="{{ $thumb.RelPermalink }}" alt="{{ $sitetitle }}" title="{{ $sitetitle }}">
{{ else }}
- {{ $thumb := .Resize "360x" }}
+ {{ $thumb := .Fill "360x270 center" }}
<img class="card-img-top" src="{{ $thumb.RelPermalink }}" alt="{{ $sitetitle }}" title="{{ $sitetitle }}">
{{ end }}
{{ end }}