Skip to content

Commit

Permalink
Add gatsby-plugin-cname to set default site title 🛠️
Browse files Browse the repository at this point in the history
  • Loading branch information
AwalHossain committed Feb 5, 2024
1 parent e1fbd7a commit 976e9cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gatsby-config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { GatsbyConfig } from 'gatsby';
import { defaultSiteTitle } from './src/components/constants/siteMeta';
const gatsbyConfig: GatsbyConfig = {
flags: {
// Use DEV_SSR to debug the SSR related issues locally (i.e. hydration related ones).
Expand Down Expand Up @@ -102,6 +103,12 @@ const gatsbyConfig: GatsbyConfig = {
},
},
},
{
resolve: 'gatsby-plugin-cname',
options: {
cname: defaultSiteTitle,
}
},

// @see: https://www.gatsbyjs.com/plugins/gatsby-remark-copy-linked-files/?=gatsby-remark-copy-linked-files
{
Expand Down

0 comments on commit 976e9cd

Please sign in to comment.