Giter Club home page Giter Club logo

blahg's Introduction

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

  • Connect to your chosen hosting provider (see Deploy to Netlify button below if you want to go that route, otherwise use the GitHub template button above and pick a different one)
  • Make an account at tina.io
  • Add your TinaCMS keys (see below)
  • Update astro.config.mjs with your domain
  • Edit src/config.js
  • Add your URL in line 1 of public/robots.txt
  • Add your links in src/components/Header.astro
  • Update the intro in pages/about.md
  • Edit the images in public/ (optional)
  • Edit whatever tags you want in tina/config.js (optional)

After this, you can add your content to src/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:

Command Action
npm install Installs dependencies
npm run dev Starts 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 build Build your production site to ./dist/
npm run preview Preview 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>

blahg's People

Contributors

cassidoo avatar tina-cloud-app[bot] avatar dependabot[bot] avatar seanmcp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.