Skip to content

Commit

Permalink
Format and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Aug 22, 2024
1 parent 8c5fb91 commit ff8a781
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/roboshield/src/lib/data/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ export default function getPageSeoFromMeta(
const defaultTitle = settings.meta?.title || settings.title || site.name;
const title = page.meta?.title || page.title || defaultTitle;
// Dont't use template on homepage
const titleTemplate =
page.slug === "index" ? "%s" : `%s | ${defaultTitle}`;
const titleTemplate = page.slug === "index" ? "%s" : `%s | ${defaultTitle}`;
const description =
page.meta?.description ||
settings.meta?.description ||
Expand Down

0 comments on commit ff8a781

Please sign in to comment.