Use the Gatsby CLI to create a new site, specifying the Lumen starter.
# Create a new Gatsby site using the Lumen starter
gatsby new blog https://github.com/alxshelepenok/gatsby-starter-lumen
Navigate into your new site’s directory and start it up.
cd blog
gatsby develop
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.
Open the blog
directory in your code editor of choice and edit src/templates/index-template.js
. Save your changes and the browser will update in real time!
Netlify CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:
After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.
To deploy to github pages, simply do the following:
package.json
file correctly reflects where this repo livespathPrefix
in your config.js
yarn deploy
$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
$ cd [REPO_NAME]
$ yarn
$ yarn develop
To test the CMS locally, you'll need run a production build of the site:
$ yarn build
$ gatsby serve
└── content
├── pages
└── posts
└── static
├── admin
└── media
└── src
├── assets
│ └── scss
│ ├── base
│ └── mixins
├── cms
│ └── preview-templates
├── components
│ ├── Feed
│ ├── Icon
│ ├── Layout
│ ├── Page
│ ├── Pagination
│ ├── Post
│ │ ├── Author
│ │ ├── Comments
│ │ ├── Content
│ │ ├── Meta
│ │ └── Tags
│ └── Sidebar
│ ├── Author
│ ├── Contacts
│ ├── Copyright
│ └── Menu
├── constants
├── templates
└── utils
Development efforts are supported by the sponsors. I'm very grateful for their donations, please check them out!
Thanks goes to these wonderful people!
vzhou842 | alehel | abisz | remi-bruguier | mariolopjr | ihororlovskyi |
timbroder | vinnymac | yodahuang | axelclark | BigTony666 | stigrune |
ybbarng | marktani | concreted | chmac | charandas | marcelabomfim |
zollillo | codejet | reed-jones | rtveitch | SayakaOno | swapnilmishra |
vvasiloud | vstoms | wichopy | yairmark |
The MIT License (MIT)
Copyright (c) 2016-2021 Alexander Shelepenok
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.
PersonalBlog A GatsbyJS personal blog starter. See the starter in action » demo website For more information visit » dev.greglobinski.com/gatsby-starter-personal-blog Description A ready to use, easy
Gatsby Auth starter with AWS Amplify This auth starter implements a basic authentication flow for signing up signing in users as well as protected client side routing using AWS Amplify. Auth features:
概述 插件 参考 基于 Gatsby 搭建博客 Gatsby.js 未来的网页
Gatsby 是基于 React 构建的静态站点生成器,拥有丰富的插件生态,其主要目标之一是交付访问速度快速的网页,它通过利用良好的缓存、静态页面生成和基于边缘的 CDN 数据源来实现这一目标。 Gatsby 可以使用 React.js 把纯文本转换到动态博客或者网站上。 目标: 无需重载页面转换 热重载编辑 为构建静态网站创建 React.js 组件模型和生态系统 直观的基于目录的 URLs 支持 "Starters"
Gatsby Simplefolio ⚡️ A clean, beautiful and responsive portfolio template for Developers Features ⚡️ Modern UI Design + Reveal Animations ⚡️ One Page Layout built with React ⚡️ Styled with Bootstrap
Gatsyby startbootstrap-agency gatsby version of startbootstrap-agency with i18n supported. This project is migrated to Gatsby@v3, check the latest Gatsby@v2 version here. Preview Sample page https://g