This commit is contained in:
Regis Philibert 2022-02-11 14:51:50 -05:00
parent 156a035e56
commit ca04e6b567
1 changed files with 0 additions and 7 deletions

View File

@ -34,13 +34,6 @@
{{ end }}
{{ end }}
{{ if not $linkToCover }}
{{/* Use the value from the site config parameter if present */}}
{{ with .Site.Params.featured_image }}
{{ $linkToCover = . }}
{{ end }}
{{ end }}
{{/* return either a permalink, or an empty string. Note that partials can only have a single
return statement, so this needs to be at the end of the partial (and not in the if block) */}}
{{ return $linkToCover }}