Skip to content

Commit 12d50c9

Browse files
authored
feat: add more section indicators
1 parent 9d75942 commit 12d50c9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

_layouts/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</head>
8585
<body>
8686
<div id="wrap">
87-
<div id="header"{% if page.header-class %} class="{{ page.header-class }}"{% endif %}>
87+
<header id="header"{% if page.header-class %} class="{{ page.header-class }}"{% endif %}>
8888
{% if page.logo -%}
8989
<img alt="{{ page.title }} logo" src="{{ page.logo | relative_url }}" width="128" height="128">
9090
{% elsif site.logo -%}
@@ -117,7 +117,7 @@ <h1><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
117117
{% endfor -%}
118118
</select>
119119
{% endif -%}
120-
</div>
120+
</header>
121121

122122
{% comment -%}
123123
This is primarily intended to remove the trailing slash from the

_layouts/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: base
33
---
4-
<div id="post">
4+
<article id="post">
55
<h2>{{ page.title }}</h2>
66
<h3>{{ page.date | date_to_long_string }}</h3>
77
<h3 class="author"><a href="https://github.com/{{ page.author }}"><img class="avatar" src="https://avatars2.githubusercontent.com/{{ page.author }}?v=3&amp;s=80" alt="{{ page.author }}" width="40" height="40">{{ page.author }}</a></h3>
@@ -28,4 +28,4 @@ <h3>Latest Posts</h3>
2828

2929
{%- include newsletter.html -%}
3030
</div>
31-
</div>
31+
</article>

blog/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>{{ post.date | date_to_string }}</h3>
1717
{% endfor -%}
1818
</ul>
1919

20-
<div class="pagination">
20+
<nav class="pagination">
2121
{% if paginator.page != 1 %}
2222
<a href="/blog/" class="first">&laquo;&nbsp;First</a>
2323
{% else %}
@@ -41,6 +41,6 @@ <h3>{{ post.date | date_to_string }}</h3>
4141
{% else %}
4242
<span class="last">Last&nbsp;&raquo;</span>
4343
{% endif %}
44-
</div>
44+
</nav>
4545

4646
{%- include newsletter.html -%}

0 commit comments

Comments
 (0)