Update summary-with-image.html

Signed-off-by: nulvox <38874956+nulvox@users.noreply.github.com>
This commit is contained in:
nulvox 2025-01-12 16:01:59 -05:00 committed by GitHub
parent 47344535d6
commit 7570c3781f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@ You should replace it with '.Render "summary-with-image"' as the use of this par
More info here: https://github.com/theNewDynamic/gohugo-theme-ananke/releases/tag/v2.8.1` }}
{{ $featured_image := partial "func/GetFeaturedImage.html" . }}
<article class="bb b--black-10">
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="db pv4 ph3 ph0-l no-underline">
<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 */}}