Things that before deploying

Deploy

deploy

setup

Setup blog url

  1. blog.config.ts
  • blogInfo.url: Change to url to deploy
  • blogInfo.Google AnalyticsID: GA can be activated through issued ID
  • an example
const blogInfo: BlogInfoType = {
    url: "https://next-your-home-guide.vercel.app",
    googleAnalyticsID: "YOUR_GA_ID",
    siteName: "next your home guide",
    subtitle: "follw this guideline",
    copyright: `${
        authorInfo.name
    }© }© All rights reserved ${new Date().getFullYear()}.`,
    language: "ko",
}
ts
  1. public/robots.txt
  • Put the url to be distributed in the Sitemap
  • an example
User-agent: *
Allow: /
Sitemap: https://next-your-home-guide.vercel.app/sitemap.xml
txt
  1. Apply Google Analytics (optional)

    1. Log in to Google Analytics
    2. Create a new Google Analytics 4 property
    3. Enter the generated Google Analytics ID into blogInfo.Google Analytics ID

Learn more about blog settings

Author Information

✒️

at authorInfo

  • name: The author's nickname
  • currentState: Lets you write down the current state
  • currentGoal: Write down your current goals
  • Contacts: Write down how you can contact the author
    • email, github, youtube, facebook, instagram, linkedin, twitter
  • logoImageUrl: The author's logo path displayed in the profile
  • bannerImageUrl: The path of the banner image to be displayed when shared externally
  • faviconUrl: This is the favicon path

Blog Information

✒️

at blogInfo

  • siteName: Blog Name
  • Subtitle: A description of the blog
  • language: Write down which languages you support

Number of blog posts

✒️

at config

  • postPerCategoryPage: Adjusts the number of posts to be displayed on one page of the category
  • numberOfLatestPost: Adjusts the latest number of posts

Ready to deploy!

danpacho

2022년 07월 29일

Thanks For Reading !

Adding blog to Google Search Console

Deploy via vercel