aboutsummaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/BaseLayout.astro27
-rw-r--r--src/layouts/PageLayout.astro7
-rw-r--r--src/layouts/PostLayout.astro7
3 files changed, 41 insertions, 0 deletions
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro
new file mode 100644
index 0000000..c100dad
--- /dev/null
+++ b/src/layouts/BaseLayout.astro
@@ -0,0 +1,27 @@
+---
+
+---
+
+<html>
+ <head>
+ <!-- Meta tags -->
+ <meta content="IE=edge" http-equiv="X-UA-Compatible" />
+ <meta content="text/html; charset=utf-8" http-equiv="content-type" />
+ <meta content="width=device-width, initial-scale=1" name="viewport" />
+ <meta content="index, follow" name="robots" />
+
+ <!-- Title / Description -->
+ <meta content="Description" name="description" />
+ <title>Title</title>
+
+ <!-- RSS -->
+ <link href="#" rel="alternate" title="RSS" type="application/atom+xml" />
+
+ <!-- Canonical URL -->
+ <link href="#" rel="canonical" />
+ </head>
+
+ <body>
+ <slot />
+ </body>
+</html>
diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro
new file mode 100644
index 0000000..3730334
--- /dev/null
+++ b/src/layouts/PageLayout.astro
@@ -0,0 +1,7 @@
+---
+import BaseLayout from "./BaseLayout.astro";
+---
+
+<BaseLayout>
+ <slot />
+</BaseLayout>
diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro
new file mode 100644
index 0000000..ed2c900
--- /dev/null
+++ b/src/layouts/PostLayout.astro
@@ -0,0 +1,7 @@
+---
+import BaseLayout from "../layouts/BaseLayout.astro";
+---
+
+<BaseLayout>
+ <slot />
+</BaseLayout>