summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@protonmail.com>2018-08-27 21:33:41 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-27 21:56:32 +0200
commit6f03ab30550073c2ba98a3e2fd67f26ccfc19e5b (patch)
treed638b7b7500f82c60ec9e7575acf1558acc01d2d
parent92610430fa1901b14f06ccfd2c4aeffe7e81d796 (diff)
fix(partials/sidebar): Use more semantic elements
-rw-r--r--layouts/partials/sidebar.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index d4839c8..162fcad 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,4 +1,4 @@
-<div class="sidebar">
+<aside class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
@@ -7,13 +7,15 @@
</p>
</div>
- <ul class="sidebar-nav">
- <li><a href="{{ .Site.BaseURL }}">Home</a> </li>
- {{ range .Site.Menus.main -}}
- <li><a href="{{.URL}}"> {{ .Name }} </a></li>
- {{- end }}
- </ul>
+ <nav>
+ <ul class="sidebar-nav">
+ <li><a href="{{ .Site.BaseURL }}">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>
</div>
-</div>
+</aside>