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:
authorSebastian Pech <windows@spech.de>2022-01-16 10:46:43 +0300
committerSebastian Pech <windows@spech.de>2022-01-16 10:46:43 +0300
commita6eefc5d45f53f64d67b0377bc183fbaeeb77c72 (patch)
tree5e00b19b8b3081a869ee82d6184f61a5d0e447ce
parentd18c880b98812e444b3ce216aaf3cd97443baf9f (diff)
Header image resize alignedv5.1.3
-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 }}