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

github.com/dewittn/hugo-html5up-alpha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index d5e293f..56802ff 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -70,7 +70,9 @@
{{ range first .postCount (where $.Site.RegularPages "Type" "blog") }}
<div class="col-6 col-12-narrower">
<section class="box special">
- <span class="image featured"><img src="{{ .Params.image }}" alt="" /></span>
+ {{ with partial "bannerURL" . }}
+ <span class="image featured"><img src="{{ . }}" alt="" /></span>
+ {{ end }}
<h3>{{ .Title }}</h3>
{{ with .Date }}<p>{{ .Format "Jan 2, 2006" }}</p>{{ end }}
{{ with .Description }}