mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
basic markdown page
This commit is contained in:
parent
c858c04491
commit
9ef3561529
2 changed files with 19 additions and 0 deletions
11
src/layouts/markdown.astro
Normal file
11
src/layouts/markdown.astro
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
import BaseLayout from './base.astro';
|
||||||
|
|
||||||
|
const { frontmatter } = Astro.props;
|
||||||
|
---
|
||||||
|
|
||||||
|
<BaseLayout title={frontmatter.title}>
|
||||||
|
<div class="middle-pane-medium mt-10">
|
||||||
|
<slot />
|
||||||
|
</div>
|
||||||
|
</BaseLayout>
|
8
src/pages/membership.md
Normal file
8
src/pages/membership.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
layout: ../layouts/markdown.astro
|
||||||
|
title: Membership
|
||||||
|
---
|
||||||
|
|
||||||
|
# hello
|
||||||
|
|
||||||
|
This is a test page
|
Loading…
Reference in a new issue