A site for my book recommendatiosn and highlights: ericayee.com/highlights, built with Eleventy. Highlights and covers are copyright to their respective authors. Forked from highlights.melanie-richards.com.
- Install Node/npm
- Run
npm install
- Run
npx @11ty/eleventy --serve
- Visit
localhost:8080
- Make sure you have a branch called
gh-pages
- Go into the GitHub settings and enable Github Pages to build from
gh-pages
and/root
Command | Purpose |
---|---|
npx @11ty/eleventy --serve | Serve project |
npx gulp sass:watch | Watch and build sass files locally |
npx gulp minify-css | Compress output CSS file before deploy |
npm run deploy | Deploy to GitHub Pages |
title: "Book Title"
book: dash-separated
author: first last
kindle: true
date: YYYY-MM-DD
pub: 2020
tags: posts
genres: contemporary romance
review: what I liked about this book
goodreads: https://www.goodreads.com/...
bookshop: https://bookshop.org/...
Where "dash-separated" is also the file name for the _data
file and JPG (cover image).
- text:
page:
attribution: