• Stars
    star
    200
  • Rank 195,325 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿš€ gatsby-starter-hoodie is a gatsby starter developed for developers to build tech blogs.

gatsby-starter-hoodie

A gatsby starter developed for developers to build tech blogs.

gatsby-starter-hoodie has been migrated to Gatsby 5 as of 2023-06-30. gatsby-starter-hoodie is now available for node.js 20.

๐Ÿš€ About gatsby-starter-hoodie

ํ•œ๊ตญ์–ด ๋ฌธ์„œ ๋ฐ”๋กœ๊ฐ€๊ธฐ

gatsby-starter-hoodie is a gatsby starter created for writing tech blogs. Markdown, Code Highlighting in various programming languages, and Katex syntax are supported. Also, you can easily categorize articles into tags and series.

Start your blog with a neatly designed gatsby-starter-hoodie that supports dark mode.

This project inspired by velog.

Live Demo

Features

  • Markdown
  • Code Highlighting
  • Katex Syntax
  • Dark Mode (Responsive to the settings of the OS)
  • Tag Categoriazation
  • Series Categorization
  • Responsive Web
  • SEO
  • Utterance (Comment widget)

Getting started your blog with gatsby-starter-hoodie by following steps below. It's very easy ๐Ÿ˜‰.

1. Create a Gatsby site

Make sure you have node.js and gatsby-cli installed on your computer.

$ npx gatsby new my-hoodie-blog https://github.com/devHudi/gatsby-starter-hoodie

2. Start dev server

$ cd my-hoodie-blog
$ npm run start

Now you can access to your blog at localhost:8000.

3. Create your own Github repository

Utterance comment widget is based on Github issue system. So you need your own GitHub repository. Also, if you want to publish your blog through Github Pages or Netlify, the Github Repository is a necessary.

If you don't know how to create a GitHub repository, follow the official GitHub documentation.

Add remote repository

git remote add origin https://github.com/{YOUR_GITHUB_NAME}/{YOUR_REPOSITORY_NAME}

4. Write blog-config.js

module.exports = {
  title: "MY BLOG",
  description: "Hello, This is my blog",
  author: "YOUR NAME",
  siteUrl: "https://myblog.com",
  links: {
    github: "https://github.com",
    facebook: "https://www.facebook.com",
    instagram: "https://www.instagram.com",
    etc: "https://www.google.com/",
  },
  utterances: {
    repo: "{YOUR_GITHUB_NAME}/{YOUR_REPOSITORY_NAME}",
    type: "pathname",
  },
}

gatsby-starter-hoodie provides a configuration file called blog-config.js. In this file, you can configure blog, biography (profile), and utterance.

Configure blog-config.js to suit your blog. However, it is recommended not to modify utterances.type.

5. Add your content

Markdown content is in contents/posts. You can write and add your articles. Click here to see the detail writing guide.

6. Deploy your blog

6-1 via Netlify

Deploy to Netlify

Follow the Connecting to Netlify steps in A Step-by-Step Guide: Gatsby on Netlify. It's not difficult.

If you connect the github repository using Netlify, it is automatically distributed whenever you push it, so it is convenient.

6-2. via Github Pages

Case 1

If the repository name is in the form of {YOUR_GITHUB_NAME} .github.io, run it below.

$ npm run deploy-gh

Case 2

If the repository name is not in the form of {YOUR_GITHUB_NAME} .github.io, run it below.

$ npm run deploy-gh-prefix-paths

In the above case, you need to change pathPrefix in gatsby-config.js to your repository name.

6-3. other platforms

$ npm run build

You can build the gatsby website with the command above. The build output is created in the /public directory. Deploy the /public directory using the command for the platform you want to deploy.

7. Cutomize

Project Structure

You can customize your own gatsby-starter-hoodie by referring to the following file structure ๐Ÿ™Š.

โ”œโ”€โ”€ node_modules
โ”œโ”€โ”€ contents
โ”‚ย ย  โ””โ”€โ”€ posts // your articles are here
โ”œโ”€โ”€ public // build outputs are here
โ””โ”€โ”€ src
    โ”œโ”€โ”€ assets
    โ”‚ย ย  โ””โ”€โ”€ theme // theme config is here
    โ”œโ”€โ”€ components
    โ”‚ย ย  โ””โ”€โ”€ Article
    โ”‚    ย ย  โ””โ”€โ”€ Body
    โ”‚        ย ย  โ””โ”€โ”€ StyledMarkdown
    โ”‚            ย ย  โ””โ”€โ”€ index.jsx // markdown styles are here
    โ”‚   ...
    โ”œโ”€โ”€ fonts // webfonts are here
    โ”œโ”€โ”€ hooks
    โ”œโ”€โ”€ images
    โ”œโ”€โ”€ pages // page components are here
    โ”œโ”€โ”€ reducers
    โ”œโ”€โ”€ templates // post components are here
    โ””โ”€โ”€ utils

More Repositories

1

woowacourse-archive

์šฐ์•„ํ•œํ…Œํฌ์ฝ”์Šค 4๊ธฐ์—์„œ ํ™œ๋™ํ•œ ๋‚ด์šฉ๋“ค์„ ๊ธฐ๋กํ•ฉ๋‹ˆ๋‹ค ๐Ÿ“
55
star
2

bokmu-bot

๊ตฐ๋Œ€์˜ ๋‚จ์€ ๋ณต๋ฌด์ผ์ˆ˜๋ฅผ ๋งค์ผ ์ •ํ•ด์ง„ ์‹œ๊ฐ„์— Slack์œผ๋กœ ์•Œ๋ ค์ฃผ๋Š” ์ฑ—๋ด‡์ž…๋‹ˆ๋‹ค.
Python
31
star
3

hudi.blog

๊ฐœ์ธ ๋ธ”๋กœ๊ทธ
JavaScript
17
star
4

tools-for-frontend-developer

ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœ์‹œ ์‚ฌ์šฉ๋˜๋Š” ์œ ์šฉํ•œ ๋„๊ตฌ๋“ค์„ ์ •๋ฆฌํ•ด๋†“๋Š” ์ €์žฅ์†Œ.
16
star
5

gridin

A SUPER Simple Grid System for Responsive Web
CSS
8
star
6

carrier

CARRIER ๋Š” ์—ฌํ–‰์ž์˜ ์—ฌํ–‰ ์ผ์ •์— ๋งž์ถ˜ ๊ฐœ์ธํ™”๋œ ๊ฐ€์ด๋“œ๋ฅผ ์ถ”์ฒœํ•ด์ฃผ๋ฉฐ, ์‹ค์‹œ๊ฐ„ ์ฑ„ํŒ… ๋“ฑ์„ ํ†ตํ•ด ์„ฑ๊ณต์ ์ธ ์—ฌํ–‰์„ ๋งˆ์น  ์ˆ˜ ์žˆ๋„๋ก ๋•๋Š” ์—ฌํ–‰ ๊ฐ€์ด๋“œ ๋งค์นญ ์„œ๋น„์Šค์ž…๋‹ˆ๋‹ค.
JavaScript
6
star
7

inhoolife

์ธํ•˜๋Œ€ํ•™๊ต ํ•™์ƒ์„ ์œ„ํ•œ ์‹๋‹น ๋ฃฐ๋ ›์ž…๋‹ˆ๋‹ค. (Deprecated)
JavaScript
6
star
8

kr-numbers

A javascript library that converts numbers to Korean representations.
JavaScript
4
star
9

inhoolife-2.0

์ธํ•˜๋Œ€ํ•™๊ต ํ•™์ƒ์„ ์œ„ํ•œ ์‹๋‹น ์ถ”์ฒœ ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ž…๋‹ˆ๋‹ค.
JavaScript
3
star
10

problem-solving

์ง์ ‘ ํ’€์ดํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ฌธ์ œ๋ฅผ ๊ธฐ๋กํ•˜๋Š” ๊ณต๊ฐ„์ž…๋‹ˆ๋‹ค.
2
star
11

coodie-backend

Kotlin
1
star
12

devHudi

1
star
13

inhafood-bot

์ธํ•˜๋Œ€ํ•™๊ต ์นด์นด์˜คํ†ก ํ•™์‹ ์•Œ๋ฆฌ๋ฏธ
JavaScript
1
star
14

moby-frontend

JavaScript
1
star