Geek blog built with Gridsome that uses Markdown for writing content
- Gridsome 0.7
- Windi CSS 3 (top of Tailwind CSS v2)
- Markdown Parser (for creating post and pages)
- Blog Post
- Pages
- Taxonomies: Categories and Tags
- Featured Image (recommended size 16:9 ratio)
- Code Syntax Highlighter (shikijs)
- Global Search for Posts and Pages (fuse.js)
- Post Excerpt
- Recent Post
- Related Post
- Approximate read time for posts
- Pagination for Blog, Tags, Categories
- Github Comments (issue based) (VSSUE)
- SEO Friendly
- Sitemap
- RSS Feed
- TOC
- Google Analytics
- Archive Post
- Dynamic Sidebar Component (by @neilherbertuk)
- Cover Image Generator (by @neilherbertuk)
- and more in future maybe 🥳
- VSSUE update css for dark theme support (pull-request is appreciated 😝 )
https://gridsome-geek-blog.netlify.app
There are several ways to to install this theme.
The easiest way to install this theme or a Gridsome theme in general is by using their CLI tool.
If you don't already have it installed, simply run:
yarn global add @gridsome/clior using npm:
npm i -g @gridsome/cliAfter that run gridsome -v to verify that the tool is working.
If everything is working as expected, run the following command:
gridsome create your-project-name https://github.com/xqsit94/gridsome-geek-blogThis command creates a folder named your-project-name in your current working directory, clones the repository and automatically installs the dependencies.
If everything is downloaded and installed you can now run gridsome develop which starts the development server and bundles all assets. After bootstrapping has finished, head to http://localhost:8080 to view your freshly created site!
To install this theme manually you need to:
- Clone the repository
- Install the dependencies
To clone the repository simply run:
git clone https://github.com/xqsit94/gridsome-geek-blog.gitAfter cloning the project, change to the project you just created.
cd gridsome-geek-blogNow you only need to install the dependencies.
Using yarn:
yarnOr by using npm:
npm installAfter all dependencies are installed you can now run yarn develop if you're using yarn or npm run develop if you are using npm to start the development server!
This boilerplate helps to configure important data using .env. All you need to do is just copy .env.example to .env
and fill the data for following variables
SITE_NAME=
SITE_TITLE=
SITE_DESCRIPTION=
SITE_AUTHOR=
SITE_AUTHOR_URL=
SITE_FAVICON_PATH="./static/images/favicon.png"
ARCHIVE_TITLE=
ARCHIVE_TEXT=
AUTO_GENERATE_COVER=false
GRIDSOME_BASE_URL=http://localhost:8080
GRIDSOME_VSSUE_OWNER=
GRIDSOME_VSSUE_REPO=
GRIDSOME_VSSUE_CLIENT_ID=
GRIDSOME_VSSUE_CLIENT_SECRET=
GRIDSOME_VSSUE_PERPAGE=
GRIDSOME_VSSUE_CREATE_ISSUE=
GOOGLE_ANALYTICS_ID=You can edit other configuration values inside gridsome.config.js