From d873a13bbbd6cf6960cab5a3e627e69af4195d63 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 23 Jan 2024 17:25:15 -0500 Subject: Added guidelines and markdown layout --- src/layouts/Page.astro | 18 ++++++++++++++--- src/layouts/PageMarkdown.astro | 46 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 src/layouts/PageMarkdown.astro (limited to 'src/layouts') diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index 91ef798..667f7c3 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -8,7 +8,9 @@ const { title, description } = Astro.props;

{title}

{description}

- +
+ +
diff --git a/src/layouts/PageMarkdown.astro b/src/layouts/PageMarkdown.astro new file mode 100644 index 0000000..1da7491 --- /dev/null +++ b/src/layouts/PageMarkdown.astro @@ -0,0 +1,46 @@ +--- +import Layout from './Default.astro'; +const { frontmatter } = Astro.props; +--- + + +
+

{frontmatter.title}

+

{frontmatter.description}

+
+
+ +
+
+ + -- cgit v1.2.3