astro-blahg

Author: cassidoo on January 24, 2025

BlogRSSTina
astro-blahg
astro-blahgastro-blahgastro-blahg
Free
MIT

Cassidy’s blog template

Netlify Status

Hello, welcome. This is a blog (“blahg” is the proper spelling for Chicagoans) template. It’s built with Astro, and uses TinaCMS to edit the content!

cover

See the blahg

blahg.netlify.app

To use the template

After this, you can add your content to posts/ with Markdown files, or with TinaCMS by going to yoururl.com/admin!

Deploy to Netlify

And finally, please ping me (via social media, or in a GitHub Issue, or whatever) if you use this template! I would love to see your writing and subscribe to your RSS feed!

Run it yourself

All commands are run from the root of the project, from a terminal:

CommandAction
npm installInstalls dependencies
npm run devStarts local dev server at localhost:4321
npx tinacms dev -c 'astro dev'Manually run local server if the regular command doesn’t work
npm run buildBuild your production site to ./dist/
npm run previewPreview your build locally, before deploying

You go to localhost:4321/admin/index.html to see the CMS and use it. If you want to clone this for yourself, you’ll need a .env.development file that has the following in it:

TINACLIENTID=<from tina.io>
TINATOKEN=<from tina.io>
TINASEARCH=<from tina.io>

If you get a remote GraphQL schema error, chances are you need to update TinaCMS, details here!

Have fun!