Skip to content

Commit

Permalink
Change recent posts header tag to h2
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarnier committed Feb 8, 2017
1 parent 0633d5b commit 5acc9b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Expand Up @@ -89,7 +89,7 @@ <h1 class="clearfix">
<hr class="with-no-margin margin-bottom"/>

<div class="block sticky">
<h1>{{ site.str_recent_posts }}</h1>
<h2>{{ site.str_recent_posts }}</h2>
<ul>
{% assign posts = '' | split: '' %}
{% for post in site.posts %}
Expand Down
4 changes: 2 additions & 2 deletions _sass/_aside.scss
Expand Up @@ -7,15 +7,15 @@
border-top: 3px solid $brand-color;
}

h1 {
h2 {
font-size: 1.2em;
line-height: 1.3;
margin: 1em 0;
}

.block {
margin-bottom: $margin;
h1 {
h2 {
margin: 0;
}
}
Expand Down

0 comments on commit 5acc9b7

Please sign in to comment.