Code base build to render Takshilla blog posts
Install this template (assuming Gatsby is installed and updated) by running from your CLI:
gatsby new TakshillaBlog https://git.takshilalearning.com/sumitra.saksham/gatsby-blog
npm run develop # or gatsby develop
Or you can fork the project, make your changes there and merge new features when needed.
Alternatively:
git clone https://git.takshilalearning.com/sumitra.saksham/gatsby-blog TakshillaBlog # Clone the project
cd TakshillaBlog
rm -rf .git # So you can have your own changes stored in VCS.
npm install # or yarn install
npm run develop # or gatsby develop
Navigate to localhost:8000.
- Posts and Pages in Markdown
- Tags and Categories with pagination
- Homepage as list of articles, support "Load more" function
- Style using Shiba.CSS
Edit the export object parameter in data/SiteConfig
for local development:
siteUrl: "https://gb-template.netlify.com",// Domain of your website without pathPrefix.
googleAnalyticsID: "UA-96543695-7",// GA tracking ID.