Skip to content
프로젝트

jaxx2104/gatsby-starter-bootstrap

GitHub에서 보기

소개

A Bootstrap 5 starter for Gatsby — fast, accessible, ready to fork.

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • Gatsby 5.16+ with React 19 and TypeScript (strict).
  • Bootstrap 5.3 via Sass — no jQuery, no popper.
  • Markdown blog with Prism syntax highlighting.
  • gatsby-plugin-image for responsive images.

측정된 스타 증가

in 24h
0
in 7 days
-1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Gatstrap

A Bootstrap 5 starter for Gatsby — fast, accessible, and ready to fork.

CI

Gatstrap demo

Features

  • Gatsby 5.16+ with React 19 and TypeScript (strict).
  • Bootstrap 5.3 via Sass — no jQuery, no popper.
  • Markdown blog with Prism syntax highlighting.
  • gatsby-plugin-image for responsive images.
  • Gatsby <Head> API for per-page SEO.
  • Lighthouse mobile 95+ on Performance, Accessibility, Best Practices, SEO.

Quick start

gatsby new my-blog https://github.com/jaxx2104/gatsby-starter-bootstrap
cd my-blog
pnpm install
pnpm develop

Open http://localhost:8000.

Configuration

Edit gatsby-config.ts. The siteMetadata block is the single source of truth for the navbar title, the per-page SEO <Head>, and the PWA manifest:

const siteMetadata = {
  title: 'Your Site',
  description: 'Your description.',
  siteUrl: 'https://example.com',
  author: 'Your Name',
  twitter: 'your_handle',
}

Customization

Theme tokens are at src/scss/colors.scss and src/scss/fonts.scss. Override Bootstrap 5 Sass variables there before the bootstrap import in src/scss/gatstrap.scss.

To swap the brand color:

// src/scss/colors.scss
$purple: #00bcd4;

Writing posts

Add a folder under content/posts/:

content/posts/2026-06-01-my-post/
  index.md
  hero.jpg

index.md frontmatter:

---
layout: post
title: My Post
path: /my-post
category: Notes
tags: [example]
description: A one-sentence description.
date: 2026-06-01
---

Scripts

Command Description
pnpm develop Start the dev server
pnpm build Production build to public/
pnpm typecheck Run TypeScript strict mode checks
pnpm lint Run Biome lint
pnpm lint:fix Run Biome check (lint + format) with fixes
pnpm format Run Biome format

Contributing

  1. Fork and clone.
  2. pnpm install to install (Node 22).
  3. pnpm typecheck, pnpm lint, and pnpm build must pass before opening a pull request.
  4. Pre-commit hooks run lint-staged automatically.
  5. git push runs pnpm typecheck via a pre-push hook. Use git push --no-verify to skip during work-in-progress pushes.
  6. SCSS and Markdown files are not formatted by tooling — follow the .editorconfig settings (2-space indent, LF line endings, UTF-8).

License

Released under the 0BSD License.

관련 프로젝트 살펴보기

불러오는 중…