mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-05 20:26:43 +02:00
🛠️ build(astro): nuxtjs to astro
This commit is contained in:
13
src/layouts/MarkdownLayout.astro
Normal file
13
src/layouts/MarkdownLayout.astro
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
import DefaultLayout from './DefaultLayout.astro'
|
||||
|
||||
const { frontmatter } = Astro.props
|
||||
---
|
||||
|
||||
<DefaultLayout title={frontmatter.title}>
|
||||
<div class="container">
|
||||
<div class="space-content my-12">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</DefaultLayout>
|
Reference in New Issue
Block a user