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>

View File

@@ -24,7 +24,7 @@ import { ViewTransitions } from "astro:transitions";
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>vaporvee's Website | {title}</title>
<title>{title} | vaporvee's Website</title>
<ViewTransitions />
</head>
<body>

View File

@@ -1,6 +1,6 @@
---
layout: ../../../layouts/DocsLayout.astro
title: Home
title: Discord SDK plugin for Godot
draft: true
---

View File

@@ -5,6 +5,7 @@ header {
display: flex;
justify-content: space-between;
align-items: center;
position: unset;
.logo {
margin-right: 2.5vw;