Fixed layout of blog test.
- Added main tags and replaced div with section. - Added banner component to blog posts.
This commit is contained in:
parent
a478c5a4ba
commit
82a63c797e
@ -14,6 +14,7 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import Banner from '../../components/banner.svelte'
|
||||
export let post;
|
||||
</script>
|
||||
|
||||
@ -57,8 +58,11 @@
|
||||
<title>{post.title}</title>
|
||||
</svelte:head>
|
||||
|
||||
<h1>{post.title}</h1>
|
||||
<Banner/>
|
||||
|
||||
<div class='content'>
|
||||
{@html post.html}
|
||||
</div>
|
||||
<main class="container">
|
||||
<h1>{post.title}</h1>
|
||||
<section>
|
||||
{@html post.html}
|
||||
</section>
|
||||
</main>
|
Loading…
x
Reference in New Issue
Block a user