about summary refs log tree commit diff stats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorAlan Pearce2014-06-07 10:34:22 +0100
committerAlan Pearce2014-06-07 10:34:22 +0100
commit8e077a0573cd45be7438ff617b59d7d3e72924ea (patch)
treea0d18dbd8c4fe3780801dd7dec2d8c644f1d41e1 /layouts/index.html
parent15e3433c673d692232b0140da8160324ef7c2fa2 (diff)
downloadhyde-8e077a0573cd45be7438ff617b59d7d3e72924ea.tar.lz
hyde-8e077a0573cd45be7438ff617b59d7d3e72924ea.tar.zst
hyde-8e077a0573cd45be7438ff617b59d7d3e72924ea.zip
Switch to semantic tags where appropriate
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 44d9e6c..d820afc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,20 +1,20 @@
 {{ 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">
 			<div class="posts">
 				{{ range .Data.Pages }}
-				<div class="post">
+				<article class="post">
 					<h1 class="post-title">
 						<a href="{{ .Permalink }}">
 							{{ .Title }}
 						</a>
 					</h1>
-					<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
+					<time class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time>
 					{{ .Content }}
-				</div>
+				</article>
 				{{ end }}
 			</div>
-		</div>
+		</main>
 	</body>
 </html>