diff options
Diffstat (limited to 'layouts/_default/summary-with-image.html')
-rw-r--r-- | layouts/_default/summary-with-image.html | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/layouts/_default/summary-with-image.html b/layouts/_default/summary-with-image.html index 3c94240..0467891 100644 --- a/layouts/_default/summary-with-image.html +++ b/layouts/_default/summary-with-image.html @@ -4,7 +4,6 @@ <div class="flex flex-column flex-row-ns"> {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} - {{ $featured_image := (trim $featured_image "/") | absURL }} <div class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3-ns" "pr3-ns" }} mb4 mb0-ns w-100 w-40-ns"> <a href="{{.RelPermalink}}" class="db grow"> <img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}"> |