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
3d80065e8e
commit
7ddb095ad2
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