mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
5 days ago ce82e903e4e451102a99a452ac75bfb7a6fc8cfb
layouts/_partials/func/GetFeaturedImage.html
@@ -54,4 +54,7 @@
{{/* 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) */}}
{{ with partials.Include "func/GetFeaturedImageResource.html" . }}
  {{ $linkToCover = .RelPermalink }}
{{ end }}
{{ return $linkToCover }}