Skip to content

Commit

Permalink
Update fallback page title to Nkhili CSS - A Modern CSS Framework i…
Browse files Browse the repository at this point in the history
…n Layout component
  • Loading branch information
Mustapha-Nkhili committed Jul 23, 2024
1 parent 9172658 commit 300bb29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ function Layout() {

if (title) {
const formattedTitle = title.split("-").join(" ");

return `${
formattedTitle.charAt(0).toUpperCase() + formattedTitle.slice(1)
} - Nkhili CSS`;
}

return `Nkhili CSS - Build fast and responsive sites`;
return `Nkhili CSS - A Modern CSS Framework`;
};

const titleElement = document.getElementsByTagName("title")[0];
Expand Down

0 comments on commit 300bb29

Please sign in to comment.