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.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 10ecf4c..ae69809 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -63,11 +63,12 @@
</header>
{{ end }}
<div class="row">
- {{ range first .postCount (where $.Site.RegularPages "Type" "posts") }}
+ {{ 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>
<h3>{{ .Title }}</h3>
+ {{ with .Date }}<p>{{ .Format "Jan 2, 2006" }}</p>{{ end }}
{{ with .Description }}
<p>{{ . }}</p>
{{ else }}