diff options
author | Valentin Popov <valentin@popov.link> | 2024-09-05 00:16:37 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-09-05 00:16:37 +0300 |
commit | 7eff3fde5720eb23449e2f8c8ea0b8218efe4dde (patch) | |
tree | fbaedd693902c1a6d56a005b28b189ef76fe23f4 /src/layouts | |
parent | ecf9a15e77509d344ab4ee02ae0dbf8a116021f1 (diff) | |
download | popov.link-7eff3fde5720eb23449e2f8c8ea0b8218efe4dde.tar.xz popov.link-7eff3fde5720eb23449e2f8c8ea0b8218efe4dde.zip |
Initial Astro project
Diffstat (limited to 'src/layouts')
-rw-r--r-- | src/layouts/BaseLayout.astro | 27 | ||||
-rw-r--r-- | src/layouts/PageLayout.astro | 7 | ||||
-rw-r--r-- | src/layouts/PostLayout.astro | 7 |
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> |