diff options
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 47a6453..5b51eba 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,9 +1,11 @@ -{{ define "main" -}} -<ul class="posts"> -{{ 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> - </li> -{{- end }} -</ul> +{{ define "main" }} + <h1 class="page-title">{{ .Title }}</h1> + <ul class="posts"> + {{ range .Data.Pages -}} + <li> + <a class="post-title u-url" href="{{ .RelPermalink }}">{{ .Title }}</a> + <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> + </li> + {{ end -}} + </ul> {{- end }} |