Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/budparr/gohugo-theme-ananke.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRegis Philibert <login@regisphilibert.com>2022-02-11 22:51:50 +0300
committerRegis Philibert <login@regisphilibert.com>2022-02-11 22:51:50 +0300
commitca04e6b56765ca5fb3fac18e3441492bc64d98f6 (patch)
treefabe64270a9f7b73e6d4dfd492dbc0edf8fb5c9a
parent156a035e5632f50bb042a2bdcccf5e18b2719c12 (diff)
Revert https://github.com/theNewDynamic/gohugo-theme-ananke/commit/36c029abb9551e247e83789d6b3a02c2299a14e1
-rw-r--r--layouts/partials/func/GetFeaturedImage.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/layouts/partials/func/GetFeaturedImage.html b/layouts/partials/func/GetFeaturedImage.html
index b33eaa3..12ffe1c 100644
--- a/layouts/partials/func/GetFeaturedImage.html
+++ b/layouts/partials/func/GetFeaturedImage.html
@@ -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 }}