Move the <time> elements below the headings in the blog list'

This commit is contained in:
Eryn Wells 2022-04-24 21:14:04 -07:00
parent bef10cb7d2
commit d2f51c6b08
2 changed files with 3 additions and 7 deletions

View file

@ -18,8 +18,7 @@
{{ range $index, $page := $paginator.Pages }}
<li class="post-entry">
<header>
<h2><a href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<time class="nobreak" datetime="{{ .Date | time.Format " 2006-01-02" }}">{{ .Date | time.Format "Jan 2, 2006" }}</time>
{{ partial "development/draft_tag.html" . }}
</header>

View file

@ -341,6 +341,7 @@ p {
.post-list {
margin-top: 1rem;
line-height: 1.4;
}
.post-list h1,
@ -349,7 +350,7 @@ p {
.post-list h4,
.post-list h5,
.post-list h6 {
display: inline;
display: block;
margin: 0;
}
@ -361,10 +362,6 @@ p {
margin-top: 2rem;
}
.post-list time {
margin-left: 1rem;
}
.post-list article {
color: gray;
font-style: oblique;