Lanyon update

This commit is contained in:
Alexandre Vicenzi 2020-02-10 19:38:11 +01:00
parent a56b6f866f
commit 6283825517
28 changed files with 452 additions and 474 deletions

View file

@ -1,9 +1,13 @@
{{ define "main" -}}
<ul class="posts">
{{ range .Data.Pages -}}
<h1>{{ .Title }}</h1>
{{ range .Data.Pages -}}
<li>
<span><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>
<span>
<a href="{{ .Permalink }}">{{ .Title }}</a>
<time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
</span>
</li>
{{- end }}
{{- end }}
</ul>
{{- end }}