diff --git a/src/layouts/Blogpost.astro b/src/layouts/Blogpost.astro
index d710241..175b791 100644
--- a/src/layouts/Blogpost.astro
+++ b/src/layouts/Blogpost.astro
@@ -1,4 +1,5 @@
---
+import Markdown from "./Markdown.astro";
const { frontmatter } = Astro.props;
@@ -9,3 +10,7 @@ if (frontmatter.draft) {
}
---
+
+
+
+
diff --git a/src/layouts/Boilerplate.astro b/src/layouts/Boilerplate.astro
index 9b60f55..9d1a24b 100644
--- a/src/layouts/Boilerplate.astro
+++ b/src/layouts/Boilerplate.astro
@@ -1,52 +1,67 @@
---
-import Header from '../components/Header.astro';
-import Footer from '../components/Footer.astro';
+import Header from "../components/compound/Header.astro";
+import Footer from "../components/compound/Footer.astro";
+
+import "../styles/main.scss";
+//import "../styles.scss";
export interface Props {
- title: string;
- description: string;
- keywords: string[];
+ title: string;
+ description: string;
+ keywords: string[];
+ header: boolean;
+ footer: boolean;
}
-const { title, description, keywords } = Astro.props;
+const props = Astro.props;
-const keywordsString = keywords.join(' ');
-
-import "../styles.scss"
+const keywordsString = props.keywords.join(" ");
---
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {title}
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {props.title}
+
+
+ {
+ props.header ?
+
+ : ""
+ }
+
+
+
+ {
+ props.footer ?
+
+ : ""
+ }
+
+
+