This commit is contained in:
Vrifox 2020-11-12 09:57:45 +01:00
parent cc98aeaa05
commit a9852b3403
6 changed files with 86 additions and 153 deletions

View file

@ -44,15 +44,15 @@
</div>
</section>
<hr>
<section class="section articles">
<section class="section posts">
<span class="latest">
latest <a href="{{ "/blog" | relURL }}">posts</a>
</span>
<div class="section articles inner">
<div class="section posts inner">
{{ range first 4 (where .Site.RegularPages "Type" "post") }}
<a href="{{ .Permalink }}">
<article>
<h1>{{ .Title }}</h1>
<h1><span>{{ .Title }}</span></h1>
{{ with .Description }}<p class="description">{{ . }}</p>{{ end }}
<p class="meta" title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">
<span class="date">{{ .Date.Format "2 January 2006" }}</span>