changed title formatting

This commit is contained in:
2024-02-02 23:03:55 +01:00
parent 17a0793843
commit 73d849325f
7 changed files with 1484 additions and 21 deletions

View File

@@ -1,12 +1,14 @@
---
const { frontmatter } = Astro.props;
import Layout from "../layouts/Layout.astro";
const title = "Docs | " + frontmatter.title;
const title = frontmatter.title + "| Docs";
---
<Layout
title={title}
description="This is my personal website with my projects, docs and other useful stuff."
>
<div class="content"><slot /></div>
<div class="content">
<h1 style="text-align: center;">{frontmatter.title}</h1><slot />
</div>
</Layout>