Skip to content

Commit

Permalink
change role=main to main tag
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali authored and uENDELIGhet7 committed Dec 20, 2023
1 parent 1e442bc commit ee1142a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div class="intro-header"></div>

<div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
<main class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
{% if page.before-content %}
<div class="before-content">
{% for file in page.before-content %}
Expand All @@ -22,4 +22,4 @@
{% endfor %}
</div>
{% endif %}
</div>
</main>
4 changes: 2 additions & 2 deletions _layouts/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<body>

<div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %} main-content">
<main class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %} main-content">
{% if page.before-content %}
<div class="before-content">
{% for file in page.before-content %}
Expand All @@ -38,7 +38,7 @@
{% endfor %}
</div>
{% endif %}
</div>
</main>

{% include footer-minimal.html %}

Expand Down
4 changes: 2 additions & 2 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% include header.html type="page" %}

<div class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}" role="main">
<main class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
<div class="row">
<div class="{% if page.full-width %} col {% else %} col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 {% endif %}">
{% if page.before-content %}
Expand All @@ -28,4 +28,4 @@
{% include comments.html %}
</div>
</div>
</div>
</main>
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
</div>
{% endif %}

<article role="main" class="blog-post">
<main class="blog-post">
{{ content }}
</article>
</main>

{% if page.tags.size > 0 %}
<div class="blog-tags">
Expand Down

0 comments on commit ee1142a

Please sign in to comment.