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

View file

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