mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-04 08:30:27 +03:00
Initial Astro project
This commit is contained in:
27
src/layouts/BaseLayout.astro
Normal file
27
src/layouts/BaseLayout.astro
Normal file
@ -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>
|
7
src/layouts/PageLayout.astro
Normal file
7
src/layouts/PageLayout.astro
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
import BaseLayout from "./BaseLayout.astro";
|
||||
---
|
||||
|
||||
<BaseLayout>
|
||||
<slot />
|
||||
</BaseLayout>
|
7
src/layouts/PostLayout.astro
Normal file
7
src/layouts/PostLayout.astro
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
---
|
||||
|
||||
<BaseLayout>
|
||||
<slot />
|
||||
</BaseLayout>
|
Reference in New Issue
Block a user