/taxi-blog-template

A blog template using 11ty, Nunjucks, JavaScript, Markdown and Netlify CMS.

Primary LanguageNunjucks

Taxi: A Blog Template 🚕

Website status Repo size Prominent language

Taxi is a simplistic template aimed for blogging, made with the power of 11ty, Nunjucks and Netlify CMS.

Live preview

Access the live preview following this link.

Features

  • Content manager via Netlify CMS.
  • Easy-to-work-with Markdown posts.
  • Scalable thanks to Nunjucks templates.
  • Responsive design

Build script

Simply run npx eleventy --serve to get the output on the /_site directory.

Usage

Content Manager

Access the Content Manager via the /admin directory to add or remove posts. Update: This feature is no more for public use, so you'll have to authenticate using Netlify Identity or add the posts manually before building.

About posts

  • Posts are written in Markdown and must be located under /src/blog/
  • There are a lot of available variables to use, check provided posts as examples.
  • You can mark a post as "top" and it will appear in the hero section by declaring top as true
  • An horizontal rule (---) can be used in the post body to indicate where the post excerpt ends.

Notes:

  • Use the included config.yml and index.html inside the /admin directory to set up Netlify CMS properly with an Netlify Identity and Github Gateway. Start by reading this.
  • Don't delete the /admin directory, as the config files won't be created by the 11ty script.

Screenshot

Preview Image

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Credits

License

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0