Skip to content

Commit 33468eb

Browse files
authored
Merge pull request #2189 from gsmet/improve-tag-page
Improve blog tag page
2 parents de9d6c0 + 512b634 commit 33468eb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

_layouts/tag-archive.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ <h2 class="title">Tagged posts: '{{ page.title }}'</h2>
4646
</div>
4747
{% endfor %}
4848
</div>
49-
<div class="grid__item width-3-12 width-12-12-m">
49+
<div class="grid__item width-1-12 width-12-12-m"></div>
50+
<div class="grid__item width-2-12 width-12-12-m">
5051
<h3 class="tags-label">Tags</h3>
5152
{% assign tag_words = site.tags | sort %}
5253
{% for stats in tag_words %}

_sass/layouts/blog.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ body.post {
137137
}
138138

139139
.blog-page, .post-page {
140+
141+
h2 {
142+
margin-top: 0;
143+
}
144+
140145
p.byline {
141146
font-size: 1rem;
142147
}

0 commit comments

Comments
 (0)