Repository that runs jeremenichelli.io, my personal site. This project is built using Eleventy by Zach Leatherman and hosted by Netlify. Liquid is used for templates and Markdown for content.
In order to run the site locally you will need the latest LTS version of Node.js and yarn. To serve the site locally first generate all assets. All initial assets are in src
and get exported to assets
and _includes
folders.
Start the Eleventy local server by running yarn serve
.
Doing yarn assets
in the terminal generates styles, scripts, favicons and images before the build.
The project uses LESS to generate inlined styles templates that go to _includes/styles
.
You can process all styles by running yarn less
.
Running yarn bundle
creates a short amount of JavaScript in _includes/scripts
that gets inlined and a font.js
file inside assets/js
which gets async loaded and handles web font loading strategy.
Running yarn favicons
generates a template partial in _includes
folder and exporting all favicon images in assets/favicon
at the same time.
The rest of images needed are processed by running yarn images
.
On each deployment, yarn release
runs yarn assets
and yarn build
to trigger an Eleventy build.
This site design and content is licensed under Apache License 2.0.