1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 14:46:04 +00:00

move header out of article tag

This commit is contained in:
mat 2024-01-10 17:24:19 -06:00
parent 42efe73ae0
commit 6049310e2f

View file

@ -19,12 +19,11 @@
<nav>
<BackAnchor href="/blog" />
</nav>
<div class="article-header">
<h1>{title}</h1>
<time>{new Date(published).toLocaleDateString()}</time>
</div>
<article>
<div class="article-header">
<h1>{title}</h1>
<time>{new Date(published).toLocaleDateString()}</time>
</div>
<slot />
</article>
</div>
@ -56,6 +55,7 @@
}
h1 {
margin-bottom: 0;
font-size: 1.5em;
}
.article-header {
margin-bottom: 1em;