Originally created by Stephanie Eckles (@5t3ph), and modified for use in Hacking History by Matt Price.
-
Clone this repository to your personal account.
-
Once cloned, run
npm install
to install 11ty and other dependencies. Then runnpm start
to start a server which will (mostly) auto-update as you work. Usenpm run build
to run a "production" version, which will also generate social share preview images. -
Open
src/_data/meta.js
, and update the metadata for the site -
start editing the markdown to create your site.
-
Review the styling documentation for the included minimal Sass framework, particularly the theme variables, to quickly customize the starter.
-
Edit
src/index.njk
to change the home page - including changing the template type if desired - and then create content within_pages
using any templating format you prefer to add content. -
Check out the About page for expanded details on included features of this starter.
-
Review the 11ty documentation to more deeply apply customizations, including adding custom data sources and reviewing what template languages are available.
For more Eleventy resources, check out @5t3ph's extended collection on 11ty.Rocks!