diff options
Diffstat (limited to 'themes/default/layouts/_default')
-rw-r--r-- | themes/default/layouts/_default/home.archives.html | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/themes/default/layouts/_default/home.archives.html b/themes/default/layouts/_default/home.archives.html index 3b5c94b..3040c86 100644 --- a/themes/default/layouts/_default/home.archives.html +++ b/themes/default/layouts/_default/home.archives.html @@ -22,10 +22,10 @@ {{- define "middle" -}} <archive-list> - <item-list> + <time-line> {{ range (.Paginator.Pages.GroupByDate "2006") }} {{ range (first 1 .Pages) }} - <h1>{{ .Date | time.Format "2006" }}</h1> + <h1>{{ .Date | time.Format "2006" }}</h1> {{ end }} <ul> {{ range .Pages }} @@ -35,17 +35,25 @@ title="{{ partial "meta-title.html" . }}" href="{{ .Permalink }}#{{ partial "card-id.html" . }}" > - <span> - <code title="{{ .Date | time.Format "Posted: Monday January 2 2006 at 15:04:05 MST" }}">{{ .Date | time.Format "02 Jan" }}</code> - </span> - <span>{{ partial "meta-title.html" . }}</span> - <span>@{{ $author.user }}</span> + <code> + <time + data-type="disabled" + datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}" + title="{{ .Date | time.Format "Posted: Monday January 2 2006 at 15:04:05 MST" }}" + > + {{ .Date | time.Format "02 Jan" }} + </time> + </code> + <section> + <h2>{{ partial "meta-title.html" . }}</h2> + <p>@{{ or .Params.feed.domain $author.user }}</p> + </section> </a> </li> {{ end }} </ul> {{ end }} - </item-list> + </time-line> </archive-list> {{- end -}} |