diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 294742c..496a8ce 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -41,6 +41,14 @@ DefaultContentLanguage = "en" # Theme i18n support [params.opengraph.twitter] site = "" [params.defaultImage] + [params.defaultImage.article] + enabled = false + local = false + src = "" + [params.defaultImage.articleList] + enabled = false + local = true + src = "" [params.defaultImage.opengraph] enabled = false local = false diff --git a/layouts/_default/term.html b/layouts/_default/term.html index b3d2cce..0b63549 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -15,7 +15,7 @@ {{ end }} - {{ $image := partial "helper/image" (dict "Context" .) }} + {{ $image := partial "helper/image" (dict "Context" . "Type" "taxonomy") }} {{ if $image.exists }}