diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 6 | ||||
-rw-r--r-- | layouts/_default/single.html | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 38c880c..bc97cc9 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,12 +1,12 @@ {{ template "theme/partials/head.html" . }} <body class="theme-base-0b layout-reverse"> {{ template "theme/partials/sidebar.html" . }} - <div class="content container"> + <main class="content container" role="main"> <ul class="posts"> {{ range .Data.Pages }} - <li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span></li> + <li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span></li> {{ end }} </ul> - </div> + </main> </body> </html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ce35c85..ba9c5cb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,12 +1,12 @@ {{ template "theme/partials/head.html" . }} <body class="theme-base-0b layout-reverse"> {{ template "theme/partials/sidebar.html" . }} - <div class="content container"> - <div class="post"> + <main class="content container" role="main"> + <article class="post"> <h1>{{ .Title }}</h1> - <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> + <time class="post-date" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time> {{ .Content }} - </div> - </div> + </article> + </main> </body> </html> |