changed title formatting
This commit is contained in:
@@ -4,19 +4,22 @@ import metaTags from "astro-meta-tags";
|
|||||||
import rehypeSlug from 'rehype-slug';
|
import rehypeSlug from 'rehype-slug';
|
||||||
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
||||||
import remarkDirective from 'remark-directive';
|
import remarkDirective from 'remark-directive';
|
||||||
import remarkCalloutDirectives from "@microflash/remark-callout-directives"
|
import remarkCalloutDirectives from "@microflash/remark-callout-directives";
|
||||||
import remarkExternalLinks from 'remark-external-links';
|
import remarkExternalLinks from 'remark-external-links';
|
||||||
|
|
||||||
import mdx from "@astrojs/mdx";
|
import mdx from "@astrojs/mdx";
|
||||||
|
|
||||||
|
import lighthouse from "astro-lighthouse";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [minify(), metaTags(), mdx()],
|
integrations: [minify(), metaTags(), mdx(), lighthouse()],
|
||||||
markdown: {
|
markdown: {
|
||||||
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, {
|
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, {
|
||||||
behavior: 'wrap'
|
behavior: 'wrap'
|
||||||
}]],
|
}]],
|
||||||
remarkPlugins: [remarkDirective, remarkCalloutDirectives, [remarkExternalLinks, { target: '_blank' }]],
|
remarkPlugins: [remarkDirective, remarkCalloutDirectives, [remarkExternalLinks, {
|
||||||
|
target: '_blank'
|
||||||
|
}]],
|
||||||
drafts: true,
|
drafts: true,
|
||||||
shikiConfig: {
|
shikiConfig: {
|
||||||
theme: 'dracula'
|
theme: 'dracula'
|
||||||
|
1482
package-lock.json
generated
1482
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -14,6 +14,7 @@
|
|||||||
"@astrojs/mdx": "^2.1.1",
|
"@astrojs/mdx": "^2.1.1",
|
||||||
"@microflash/remark-callout-directives": "^2.0.0",
|
"@microflash/remark-callout-directives": "^2.0.0",
|
||||||
"astro": "^4.2.6",
|
"astro": "^4.2.6",
|
||||||
|
"astro-lighthouse": "^0.1.3",
|
||||||
"astro-meta-tags": "^0.2.1",
|
"astro-meta-tags": "^0.2.1",
|
||||||
"astro-min": "^1.1.0-dev.4",
|
"astro-min": "^1.1.0-dev.4",
|
||||||
"npx": "^3.0.0",
|
"npx": "^3.0.0",
|
||||||
|
@@ -1,12 +1,14 @@
|
|||||||
---
|
---
|
||||||
const { frontmatter } = Astro.props;
|
const { frontmatter } = Astro.props;
|
||||||
import Layout from "../layouts/Layout.astro";
|
import Layout from "../layouts/Layout.astro";
|
||||||
const title = "Docs | " + frontmatter.title;
|
const title = frontmatter.title + "| Docs";
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout
|
<Layout
|
||||||
title={title}
|
title={title}
|
||||||
description="This is my personal website with my projects, docs and other useful stuff."
|
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>
|
</Layout>
|
||||||
|
@@ -24,7 +24,7 @@ import { ViewTransitions } from "astro:transitions";
|
|||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
<title>vaporvee's Website | {title}</title>
|
<title>{title} | vaporvee's Website</title>
|
||||||
<ViewTransitions />
|
<ViewTransitions />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: ../../../layouts/DocsLayout.astro
|
layout: ../../../layouts/DocsLayout.astro
|
||||||
title: Home
|
title: Discord SDK plugin for Godot
|
||||||
draft: true
|
draft: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@@ -5,6 +5,7 @@ header {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
position: unset;
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
margin-right: 2.5vw;
|
margin-right: 2.5vw;
|
||||||
|
Reference in New Issue
Block a user