mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-04-20 05:12:43 +00:00
Revert 36c029abb9
This commit is contained in:
parent
156a035e56
commit
ca04e6b567
@ -34,13 +34,6 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ 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 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 statement, so this needs to be at the end of the partial (and not in the if block) */}}
|
||||||
{{ return $linkToCover }}
|
{{ return $linkToCover }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user