Skip to content

Commit c60db26

Browse files
committed
Change h6 to p for post dates, transfer h6 styling to p
1 parent ec1daf9 commit c60db26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_includes/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="blog__post">
2-
<h6>{{ post.date | date: '%B %-d, %Y' }}</h6>
2+
<p>{{ post.date | date: '%B %-d, %Y' }}</p>
33

44
<dl>
55
<dt><a href="{{ post.url }}">{{ post.title | strip_html }}</a></dt>

_sass/modules/_blog.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
border-top: 3px solid rgba($color-black, 0.1);
3232
padding-top: 30px;
3333

34-
h6 {
34+
p {
3535
font-size: 21px;
3636
font-weight: 600;
3737
letter-spacing: -0.006em;
@@ -44,7 +44,7 @@
4444
margin-bottom: -6px;
4545
margin-top: 1px;
4646

47-
dt {
47+
h3 {
4848

4949
color: $color-black;
5050
font-size: 31px;
@@ -117,7 +117,7 @@
117117
gap: 30px;
118118
padding-top: 40px;
119119

120-
h6 {
120+
p {
121121
flex: 1;
122122
margin-top: -1px;
123123
}

0 commit comments

Comments
 (0)