Add sitemap/robots.txt generation plugins, fix titleTag, lower header underline opacity

This commit is contained in:
2023-11-27 18:06:59 -06:00
parent 8c02b7c2e0
commit 7522fdabb0
4 changed files with 68 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ interface Props {
}
const { title } = Astro.props;
const titleTag = title != undefined ? `${title} | xevion.blog` : 'xevion.blog';
const titleTag = title != undefined ? `${title} | undefined.behavio.rs` : 'undefined.behavio.rs';
---
<!doctype html>
<html lang="en">
@@ -27,6 +27,7 @@ const titleTag = title != undefined ? `${title} | xevion.blog` : 'xevion.blog';
<link as="font" crossorigin href="/fonts/-cmunrm.woff2" rel="preload">
<link as="font" crossorigin href="/fonts/-cmuntt.woff2" rel="preload">
<link as="font" crossorigin href="/fonts/-cmunti.woff2" rel="preload">
<link as="sitemap" type="application/xml" href="/sitemap-index.xml">
<link href="/feed.xml" rel="alternate" type="application/atom+xml">
<ViewTransitions />
<!-- {page._preview_description and page.title or page.name == "index.html"} -->
@@ -60,7 +61,7 @@ const titleTag = title != undefined ? `${title} | xevion.blog` : 'xevion.blog';
<span style="--index: 2;">undefined behaviors</span>
</div>
</header>
<nav class="text-center text-xl text-[#808080] [&>a]:text-white [&>a]:underline [&>span]:select-none">
<nav class="text-center text-xl text-[#808080] [&>a]:text-white [&>a]:underline decoration-white/85 [&>span]:select-none">
<a href="/">~/</a>
<span>:</span>
<a href="https://xevion.dev">~/about/</a>