about summary refs log tree commit diff stats
path: root/layouts/partials
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/partials
parent15e3433c673d692232b0140da8160324ef7c2fa2 (diff)
downloadhyde-8e077a0573cd45be7438ff617b59d7d3e72924ea.tar.lz
hyde-8e077a0573cd45be7438ff617b59d7d3e72924ea.tar.zst
hyde-8e077a0573cd45be7438ff617b59d7d3e72924ea.zip
Switch to semantic tags where appropriate
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/sidebar.html24
1 files changed, 13 insertions, 11 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index befbea4..08fd7cc 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,19 +1,21 @@
-		<div class="sidebar">
+		<aside class="sidebar">
 			<div class="container sidebar-sticky">
-				<div class="sidebar-about">
+				<section class="sidebar-about">
 					<h1>{{ .Site.Title }}</h1>
 					<p class="lead">
 						{{ with .Site.Params.Description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
 					</p>
-				</div>
+				</section>
 
-				<ul class="sidebar-nav">
-					<li><a href="/">Home</a> </li>
-					{{ range .Site.Menus.main }}
-					<li><a href="{{.Url}}"> {{ .Name }} </a></li>
-					{{end}}
-				</ul>
+				<nav>
+					<ul class="sidebar-nav">
+						<li><a href="/">Home</a> </li>
+						{{ range .Site.Menus.main }}
+						<li><a href="{{.Url}}"> {{ .Name }} </a></li>
+						{{end}}
+					</ul>
+				</nav>
 
-				<p>{{ with .Site.Params.Copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
+				<footer>{{ with .Site.Params.Copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</footer>
 			</div>
-		</div>
+		</aside>