gatsby-theme-buzzing v2.0.3
Gatsby Theme Timeline
This is a repo for Gatsby's timeline theme, with the theme, you can show all your posts, tweets at one timeline.
Features
- Support Mdx, tweet, reddit post
- Support i18n by gatsby-theme-i18n, you can choose your own i18n library
- Support comments disqus or utterances
π Quick start
Learn more about the theme information at here
Create a Gatsby site.
Use the Gatsby CLI to create a new site, specifying the timeline blog theme starter.
# create a new Gatsby site using the timeline blog theme starter gatsby new my-themed-blog https://github.com/theowenyoung/gatsby-starter-timeline
Create twitter credentials
Optional, if you want to add your tweets to blog, create
.env
with the following content:TWITTER_CONSUMER_KEY=xx TWITTER_CONSUMER_SECRET=xx TWITTER_ACCESS_TOKEN=xx TWITTER_ACCESS_SECRET=xx
Then, uncomment
gatsby-config.js
plugingatsby-source-twitter
Start developing.
Navigate into your new siteβs directory and start it up.
cd my-themed-blog/ gatsby develop
Open the code and start customizing!
Your site is now running at
http://localhost:8000
!To get started, check out the guide to using the Gatsby blog theme starter, or the longer, more detailed tutorial.
For exist site, see here
π§ What's inside?
Here are the top-level files and directories you'll see in a site created using the timeline blog theme starter:
gatsby-starter-timeline
βββ content
β βββ assets
β β βββ avatar.png
β βββ posts
β βββ hello-world.mdx
β βββ my-second-post.mdx
βββ data
β βββ tweets
β βββ 1111.json
β βββ 2222.json
β βββ reddit
β βββ 1111.json
β βββ 2222.json
βββ src
β βββ gatsby-theme-timeline
β βββ components
β β βββ bio-content.js
β βββ gatsby-theme-ui
β βββ colors.js
βββ .gitignore
βββ .prettierrc
βββ gatsby-config.js
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ README.md
/content
: A content folder holding assets that the theme expects to exist. This will vary from theme to theme -- this starter is set up to get you started with the timeline blog theme, which expects an image asset for your avatar, and blog post content. Replace the avatar image file, delete the demo posts, and add your own!/data
: A raw data folder holding raw data like tweets, reddit json./src
: You will probably want to customize your site to personalize it. The files under/src/gatsby-theme-blog
shadow, or override, the files of the same name in thegatsby-theme-blog
package. To learn more about this, check out the guide to getting started with using the timeline blog theme starter..gitignore
: This file tells git which files it should not track / not maintain a version history for..prettierrc
: This file tells Prettier which configuration it should use to lint files.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.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.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).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.README.md
: A text file containing useful reference information about your project.
Full Screen
π Learning Gatsby
Looking for more guidance? Full documentation for Gatsby lives on the website.
Here are some places to start:
Themes
- To learn more about Gatsby themes specifically, we recommend checking out the theme docs.
General
For most developers, we recommend starting with our in-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, head to our documentation. In particular, check out the Reference Guides and Gatsby API sections in the sidebar.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago