0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 08:30:27 +03:00

Added basic structure

This commit is contained in:
2024-09-05 15:01:13 +00:00
parent 7ba2de7148
commit 17c3115a06
4 changed files with 55 additions and 19 deletions

View File

@ -1,27 +1,15 @@
---
import CanonicalURL from "../components/CanonicalURL.astro";
import Head from "../components/Head.astro";
import Header from "../components/Header.astro";
---
<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 -->
<CanonicalURL />
</head>
<Head />
<body>
<slot />
<Header />
<article>
<slot />
</article>
</body>
</html>

View File

@ -2,6 +2,23 @@
import BaseLayout from "../layouts/BaseLayout.astro";
---
<style>
.header {
text-align: center;
}
</style>
<BaseLayout>
<div class="header">
<h1>Title</h1>
<p>
<small>
Posted
<time datetime="#">#</time>
&nbsp;by&nbsp;Valentin Popov&nbsp;
<strong>1 min read</strong>
</small>
</p>
</div>
<slot />
</BaseLayout>