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

17
src/components/Head.astro Normal file
View File

@ -0,0 +1,17 @@
---
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
---
<head>
<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" />
<meta content="Description" name="description" />
<link href="/feed.xml" rel="alternate" title="RSS" type="application/atom+xml" />
<link href="/sitemap-index.xml" rel="sitemap" />
<link href={canonicalURL} rel="canonical" />
<title>Title</title>
</head>

View File

@ -0,0 +1,14 @@
---
---
<header>
<nav>
<a href="/">Home</a>
<a href="/blog/">Blog</a>
<span>
<span>|</span>
<a href="/feed.xml">RSS</a>
</span>
</nav>
</header>