_layouts/default.html in just-the-docs-0.5.1 vs _layouts/default.html in just-the-docs-0.5.2
- old
+ new
@@ -12,22 +12,22 @@
{% include components/sidebar.html %}
<div class="main" id="top">
{% include components/header.html %}
<div id="main-content-wrap" class="main-content-wrap">
{% include components/breadcrumbs.html %}
- <div id="main-content" class="main-content" role="main">
- {% if site.heading_anchors != false %}
- {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
- {% else %}
- {{ content }}
- {% endif %}
+ <div id="main-content" class="main-content">
+ <main>
+ {% if site.heading_anchors != false %}
+ {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
+ {% else %}
+ {{ content }}
+ {% endif %}
- {% if page.has_children == true and page.has_toc != false %}
- {% include components/children_nav.html toc_list=toc_list %}
- {% endif %}
-
+ {% if page.has_children == true and page.has_toc != false %}
+ {% include components/children_nav.html %}
+ {% endif %}
+ </main>
{% include components/footer.html %}
-
</div>
</div>
{% if site.search_enabled != false %}
{% include components/search_footer.html %}
{% endif %}