diff options
author | puresyntax71 <34715246+puresyntax71@users.noreply.github.com> | 2020-01-17 05:37:13 +0300 |
---|---|---|
committer | puresyntax71 <34715246+puresyntax71@users.noreply.github.com> | 2020-01-17 05:37:13 +0300 |
commit | a5a07ac81cf027867f08dff81f3069bd5ef39c5b (patch) | |
tree | 66d066b1f8677908ef7e439e781b2e08ed58bd9c | |
parent | 60630702eebfec1d2ebe79f8c0e070b56e6525bb (diff) |
Fix size on cards not having equal heights.
-rw-r--r-- | layouts/_default/card.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/card.html b/layouts/_default/card.html index e92e7ed..191e15b 100644 --- a/layouts/_default/card.html +++ b/layouts/_default/card.html @@ -5,7 +5,7 @@ {{- $images := . -}} {{- with $page.Site.GetPage "section" "images" -}} {{- with .Resources.GetMatch (strings.TrimPrefix "/images/" (index $images 0)) -}} - {{- $image := .Fit "700x350" -}} + {{- $image := .Resize "700x350" -}} <img data-src="{{ $image.RelPermalink }}" class="card-img-top mx-auto d-block" alt="{{ $page.Title }}"> {{- end -}} {{- end -}} |