Set page title

This commit is contained in:
Korbs 2024-12-12 17:50:25 -05:00
parent 907c37d972
commit edf3c9b0f5
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,6 @@
---
// Settings
import { FeelbackConfig } from '@config'
import { SiteSettings, FeelbackConfig } from '@config'
// Properties
const { frontmatter, Title, Feedback, Feelback } = Astro.props
@ -19,7 +19,7 @@ import "@styles/feelback.css"
import "@styles/prism.css"
---
<Head/>
<Head Title={frontmatter.Title + ' | ' + SiteSettings.SiteName}/>
<Header/>
<div class="page">
<article>

View file

@ -1,4 +1,7 @@
---
// Settings
import { SiteSettings } from '@config'
// Properties
const { frontmatter } = Astro.props
@ -14,7 +17,7 @@ import "@styles/splash.scss";
import "@styles/feelback.css";
---
<Head/>
<Head Title={frontmatter.Title + ' | ' + SiteSettings.SiteName}/>
<Header/>
<div class="page">
<div class="content" data-pagefind-body>