Skip to content

alstn2468/gatsby-starter-blog-rescript

Repository files navigation

Gatsby Starter Blog Rescript 🍭

Gatsby Starter Blog Rescript

πŸš€ Quick start

  1. Create a Gatsby site.

    # create a new Gatsby site using the default starter
    npx gatsby new <project-name> https://github.com/alstn2468/gatsby-starter-blog-rescript
  2. Setting environment variables.

    Copy the file .env.example and modify it according to your settings.

    PUBLIC_URL="https://<GITHUB_ID>.github.io/<REPOSITORY_NAME>/"
  3. Start developing.

    cd <project-name>/
    yarn dev
  4. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

✏️ Customize

βš™ Gatsby config

Learn more about Gatsby Node API in the Gatsby document.

/root
└── /gatsby
    β”œβ”€β”€ gatsby-config.ts
    β”œβ”€β”€ gatsby-meta-config.ts β†’ ⭐️⭐️ Fix meta data of blog ⭐️⭐️
    └── gatsby-node.ts
        β”œβ”€β”€ types.ts
        β”œβ”€β”€ createPages.ts
        β”œβ”€β”€ onCreateNode.ts
        └── createSchemaCustomization.ts

πŸ— Structure

WIP

🎨 Style

WIP

🍭 Tips (You can change...)

  • Profile image! (replace file in /content/assets/profile.png)
  • Favicon image! (replace file in /content/assets/icon.png)
  • Utterances repository! (replace repository address in /gatsby/gatsby-meta-config.ts)

🚧 ISSUE

  1. graphql-ppx didn't support gatsby3 β†’ gatsby(#25406), graphql-ppx(#165)
  2. scrollIntoView with smooth behavior chromium(#833617)

πŸ” REFERENCE

πŸ› Bug reporting

Issue

πŸ”’ LICENSE

MIT

Written by @Minsu Kim✌