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"; --- + + +
+

Title

+

+ + Posted + +  by Valentin Popov ‐ + 1 min read + +

+