From 17c3115a0608bb7ef42c8038b36f24b2356004ec Mon Sep 17 00:00:00 2001
From: Valentin Popov
Date: Thu, 5 Sep 2024 15:01:13 +0000
Subject: Added basic structure
---
src/components/Head.astro | 17 +++++++++++++++++
src/components/Header.astro | 14 ++++++++++++++
src/layouts/BaseLayout.astro | 26 +++++++-------------------
src/layouts/PostLayout.astro | 17 +++++++++++++++++
4 files changed, 55 insertions(+), 19 deletions(-)
create mode 100644 src/components/Head.astro
create mode 100644 src/components/Header.astro
(limited to 'src')
diff --git a/src/components/Head.astro b/src/components/Head.astro
new file mode 100644
index 0000000..bc5609f
--- /dev/null
+++ b/src/components/Head.astro
@@ -0,0 +1,17 @@
+---
+const canonicalURL = new URL(Astro.url.pathname, Astro.site);
+---
+
+
+
+
+
+
+
+
+
+
+
+
+ Title
+
diff --git a/src/components/Header.astro b/src/components/Header.astro
new file mode 100644
index 0000000..5b35d8a
--- /dev/null
+++ b/src/components/Header.astro
@@ -0,0 +1,14 @@
+---
+
+---
+
+
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro
index 2def353..5a73ac6 100644
--- a/src/layouts/BaseLayout.astro
+++ b/src/layouts/BaseLayout.astro
@@ -1,27 +1,15 @@
---
-import CanonicalURL from "../components/CanonicalURL.astro";
+import Head from "../components/Head.astro";
+import Header from "../components/Header.astro";
---
-
-
-
-
-
-
-
-
-
- Title
-
-
-
-
-
-
-
+
-
+
+
+
+
diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro
index ed2c900..37bbe37 100644
--- a/src/layouts/PostLayout.astro
+++ b/src/layouts/PostLayout.astro
@@ -2,6 +2,23 @@
import BaseLayout from "../layouts/BaseLayout.astro";
---
+
+
+
--
cgit v1.2.3