Commit 261f4223e1
Unsigned
Layout: unified · split
templates/base.html +1 −1
| @@ -26,7 +26,7 @@ | |||
| 26 | {% block extra_head %}{% endblock extra_head %} | 26 | {% block extra_head %}{% endblock extra_head %} |
| 27 | </head> | 27 | </head> |
| 28 | <body> | 28 | <body> |
| 29 | <nav class="site-nav"> | 29 | <nav class="site-nav" aria-label="site-nav" role="navigation"> |
| 30 | <ul> | 30 | <ul> |
| 31 | <li><a href="/">Home</a></li> | 31 | <li><a href="/">Home</a></li> |
| 32 | <li><a href="/blog/">Blog</a></li> | 32 | <li><a href="/blog/">Blog</a></li> |
templates/page.html +3 −1
| @@ -16,7 +16,7 @@ | |||
| 16 | {% if page.toc %} | 16 | {% if page.toc %} |
| 17 | <details open> | 17 | <details open> |
| 18 | <summary>Table of Contents</summary> | 18 | <summary>Table of Contents</summary> |
| 19 | <nav class="page-nav"> | 19 | <nav class="page-nav" aria-label="page-nav" role="navigation"> |
| 20 | <ul> | 20 | <ul> |
| 21 | {% for h1 in page.toc %} | 21 | {% for h1 in page.toc %} |
| 22 | <li> | 22 | <li> |
| @@ -38,5 +38,7 @@ | |||
| 38 | {% endif %} | 38 | {% endif %} |
| 39 | </section> | 39 | </section> |
| 40 | 40 | ||
| 41 | <article role="article"> | ||
| 41 | {{ page.content | safe }} | 42 | {{ page.content | safe }} |
| 43 | </article> | ||
| 42 | {% endblock content %} | 44 | {% endblock content %} |