chore: middleware
This commit is contained in:
parent
45b6e113b5
commit
3ab6f77a69
18 changed files with 180 additions and 36 deletions
|
@ -3,7 +3,6 @@ import { escapeHtml } from "@utils/helpers.js";
|
|||
|
||||
const {
|
||||
schema = "page",
|
||||
globals,
|
||||
pageTitle: titleOverride,
|
||||
description: descriptionOverride,
|
||||
ogImage: ogImageOverride,
|
||||
|
@ -19,6 +18,7 @@ const {
|
|||
genre,
|
||||
year,
|
||||
} = Astro.props;
|
||||
const { globals} = Astro.locals;
|
||||
|
||||
let pageTitle = globals.site_name;
|
||||
let pageDescription = globals.site_description;
|
||||
|
|
Reference in a new issue