Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

A Gatsby theme starter using the official blog theme, and the official notes theme

License

NotificationsYou must be signed in to change notification settings

gatsbyjs/gatsby-starter-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby

Starter for the official Gatsby blog and notes themes.

Quickly get started using the Gatsby blog theme, and notes theme, together! This starter creates a new Gatsby site that is preconfigured to work with theblog theme and thenotes theme, in harmony.

🚀 Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site, specifying this theme starter.

    # create a new Gatsby site using this theme startergatsby new my-themed-site https://github.com/gatsbyjs/gatsby-starter-theme
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-themed-site/gatsby develop
  3. Open the code and start customizing!

    Your site is now running athttp://localhost:8000!

    To get started, check out the guide togetting started with using multiple themes, or thegeneral themes docs.

🚀 Quick start (Gatsby Cloud)

Deploy this starter with one click onGatsby Cloud:

Deploy to Gatsby Cloud

🧐 What's inside?

Here are the top-level files and directories you'll see in a site created using this theme starter.

gatsby-starter-theme├── content│   ├── assets│   │   └── avatar.jpg│   ├── notes│   │   ├── example-dir│   │   │   └── hi.mdx│   │   └── hello.mdx│   └── posts│       ├── hello-world.mdx│       ├── my-second-post.mdx│       └── new-beginnings.mdx├── src│   ├── gatsby-theme-blog│   │   └── components│   │       └── header.js│   └── gatsby-theme-notes│       └── components│           └── layout.js├── .gitignore├── .prettierrc├── gatsby-config.js├── LICENSE└── package.json
  1. /content: A content folder holding assets that the blog and notes themes expect to exist. Check out the README for each theme to learn more about the demo content.

  2. /src: You will probably want to customize your site to personalize it. The files under/src/gatsby-theme-blog and/src/gatsby-theme-notesshadow, or override the files of the same name in their respective packages. To learn more about this, check out theguide to getting started with using the blog theme starter.

  3. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  4. .prettierrc: This file tellsPrettier which configuration it should use to lint files.

  5. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. When using themes, it's where you'll include the theme plugin, and any customization options the theme provides.

  6. LICENSE: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license.

  7. package-lock.json (Seepackage.json below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project.(You won’t change this file directly).

  8. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  9. README.md: A text file containing useful reference information about your project.

🎓 Learning Gatsby

Looking for more guidance? Full documentation for Gatsby liveson the website.

Here are some places to start:

Themes

  • To learn more about Gatsby themes specifically, we recommend checking out thetheme docs.

General

  • For most developers, we recommend starting with ourin-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples, headto our documentation. In particular, check out theGuides,API Reference, andAdvanced Tutorials sections in the sidebar.

About

A Gatsby theme starter using the official blog theme, and the official notes theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors56


[8]ページ先頭

©2009-2025 Movatter.jp