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:
parent
42efe73ae0
commit
6049310e2f
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue