Fixed layout of blog test.
- Added main tags and replaced div with section. - Added banner component to blog posts.
This commit is contained in:
		| @@ -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> | ||||
		Reference in New Issue
	
	Block a user