astro-accelerator 4.0.37 → 4.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ const robots = frontmatter.robots ?? 'index, follow';
|
|
|
24
24
|
const canonicalImageSrc = new URL(imageSrc, Astro.site);
|
|
25
25
|
const canonicalURL = accelerator.urlFormatter.formatUrl(new URL(Astro.url.pathname, Astro.site + SITE.subfolder));
|
|
26
26
|
const socialTitle = await accelerator.markdown.getTextFrom(frontmatter.title);
|
|
27
|
-
const title = `${ socialTitle } ${ ((frontmatter.titleAdditional) ? ` ${frontmatter.titleAdditional}` : '') } | ${ SITE.title }`;
|
|
27
|
+
const title = `${ accelerator.markdown.titleCase(socialTitle) } ${ ((frontmatter.titleAdditional) ? ` ${frontmatter.titleAdditional}` : '') } | ${ SITE.title }`;
|
|
28
28
|
|
|
29
29
|
stats.stop();
|
|
30
30
|
---
|