gatsby-theme-nice-blog v0.0.1
Nice blogs is a simple minimal blog template boilerplate built using Gatsby. Kickoff your blog website with simple steps and focus more on content than building and shipping a blog website.
Check the live demo on netlify or live demo on GitHub pages.
Features
- Pagniated minimalistic blog template.
- Google analytics.
- XML sitemap for helping search engines to find site.
- SEO compliant.
- Comments via Disqus.
π Quick start
Create a Gatsby site.
Use the Gatsby CLI to create a new site, specifying the nice blogs boilerplate template.
gatsby new <site-name> https://github.com/abhaynikam/gatsby-nice-blog
Start developing.
Navigate into your new siteβs directory and start it up.
cd my-blog-starter/ gatsby develop
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!
π§ Configure your details
Add your personal details in the config.js
and restart the server to reflect your changes.
module.exports = {
url: `Your blog site root url`,
description: `Your blog site description`,
pathPrefix: 'Useful when using Github Pages. Add the repository name here.',
title: `Your blog site title`,
disqusShortname: 'Your disqus short name to enable comments',
postsPerPage: 15,
googleAnalyticsId: 'Your google analytics id',
useKatex: false,
author: {
name: `Your name`,
summary: `Short summary`,
social: {
twitter: `Your twitter account username`,
github: `abhaynikam`,
},
}
};
π¨ Configure theme color
Update the --color-primary
color variable to the desired theme primary color.
π’ Deploying using Github page
Update pathPrefix.
Update the
pathPrefix
to the GitHub repository name.module.exports = { pathPrefix: '', ... }
Deploy to GitHub pages!
yarn run deploy OR npm run deploy
π’ Deploying using Netlify
- Login/Signup to the Netlify GitHub account.
- Authorize the repository access.
- Configure the custom domain on Netlify.
Watch the video by Netlify team and learn deploying using Git.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/abhaynikam/gatsby-nice-blog. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
The boilerplate blog template is available as open source under the terms of the MIT License.
Author
Contributors
4 years ago