diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 3 |
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 }} |