diff options
author | Alan Pearce | 2017-05-06 17:20:01 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-06 17:20:01 +0200 |
commit | 30dbd768eed25625e16b07f5791f282b266593bc (patch) | |
tree | 8802096b46d51fd7d364d2e445fd0df7acb3cdc8 /layouts | |
parent | 6b9efc9152540afcd773bcdbc19e7d04b5e6cab2 (diff) | |
download | hyde-30dbd768eed25625e16b07f5791f282b266593bc.tar.lz hyde-30dbd768eed25625e16b07f5791f282b266593bc.tar.zst hyde-30dbd768eed25625e16b07f5791f282b266593bc.zip |
style: Make list and index consistent
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 7f58f35..a9f903c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -6,7 +6,7 @@ {{ range .Data.Pages }} <li itemscope itemtype="http://schema.org/BlogPosting"> <a class="post-title" itemprop="url" href="{{ .RelPermalink }}"><span itemprop="name">{{ .Title }}<span></a> - <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> + <time class="post-date" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> </li> {{ end }} </ul> diff --git a/layouts/index.html b/layouts/index.html index 5d8ca0b..712ba03 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@ <main class="content container" role="main"> <section class="recent"> <h2>Recent Posts</h2> - <ul> + <ul class="posts"> {{ range .Data.Pages }} <li itemscope itemtype="http://schema.org/BlogPosting"> <a class="post-title" itemprop="url" href="{{ .RelPermalink }}"><span itemprop="name">{{ .Title }}</span></a> |