parent
fc9b2352db
commit
3789b8edae
|
@ -1,4 +1,4 @@
|
|||
{{ $featured_image := .Param "featured_image"}}
|
||||
{{ $featured_image := partial "func/GetFeaturedImage.html" . }}
|
||||
{{ 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 }}
|
||||
|
|
Loading…
Reference in a new issue