Skip to content

A boilerplate setup for Jekyll sites hosted on GitHub Pages and managed with Tina CMS.

License

Notifications You must be signed in to change notification settings

aidensymes/aidens-jekyll-boilerplate

Repository files navigation

aidens-jekyll-boilerplate

A boilerplate setup for Jekyll sites hosted on GitHub Pages and managed with Tina CMS.

Notable Features

  • Automated builds directly to GitHub Pages with any plugins (not just the default white-listed ones)
  • Automatic responsive images via jekyll-picture-tag
  • Custom SCSS grid system for easy layouts
  • Tina CMS hosted on the same domain at /admin

Setup

Create secrets

You need to create three secrets in the repo. All three come from your Tina project.

  • TINA_PUBLIC_CLIENT_ID : Your Tina Client ID. Fuond under "Overview" in the sidebar.
  • TINA_TOKEN : Your Tina "Content (Readonly)" token. Found under "Tokens" in the sidebar
  • TINA_SEARCH_TOKEN : Your Tina "Search" token. Found under "Tokens" in the sidebar

tina/config.ts

Make sure to update build.basepath in tina/config.ts! You can leave this blank if you're building from the root of your domain.

You may want to update media too, if you plan on changing where uploads are stored. (If you do this, make sure to update _config.yml, so picture.source and picture.output match your updated location.

GitHub Pages

Under "Settings", select "Pages". Under "Build and deployment", set "Source" to "GitHub Actions".

You should see: "Your site was last deployed to the github-pages environment by the Deploy Jekyll site to Pages workflow."

Local Development

Need to expand on this

About

A boilerplate setup for Jekyll sites hosted on GitHub Pages and managed with Tina CMS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published