Skip to content

Commit

Permalink
Set <aside> as semantic sidebar element
Browse files Browse the repository at this point in the history
Again, no effect on the visual presentation on the page. A purely
semantic improvement.
  • Loading branch information
karlstolley committed Sep 18, 2019
1 parent 0aa0d92 commit bc888ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _includes/sidebar-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">

<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<aside class="sidebar" id="sidebar">
<div class="sidebar-item">
<p>{{ page.title }}</p>
</div>
Expand All @@ -26,4 +26,4 @@
Built with <a href="https://minicomp.github.io/ed/">Ed.</a> Distributed under an MIT license.
</p>
</div>
</div>
</aside>
4 changes: 2 additions & 2 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">

<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<aside class="sidebar" id="sidebar">
<div class="sidebar-item">
<p>{{ site.description }}</p>
</div>
Expand Down Expand Up @@ -45,4 +45,4 @@
Built with <a href="https://minicomp.github.io/ed/">Ed.</a> Distributed under an MIT license.
</p>
</div>
</div>
</aside>

0 comments on commit bc888ee

Please sign in to comment.