Skip to content
Repository for my personal site
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.scripts fix: update favicon and theme colors May 29, 2019
_data
_includes
about
archive feat: migrate from jekyll to eleventy May 21, 2019
blog
posts
src
talks feat: migrate from jekyll to eleventy May 21, 2019
.eleventy.js
.eleventyignore
.gitignore
.prettierrc
404.md
LICENSE
README.md
feed.xml.liquid
googlefe36aaa9448bd2f4.html
index.md
package.json
robots.txt
sitemap.xml.liquid
yarn.lock feat: prefetch links on viewport entering Jun 10, 2019

README.md

personal-site

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.

Scripts

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.

Serve

Start the Eleventy local server by running yarn serve.

Assets

Doing yarn assets in the terminal generates styles, scripts, favicons and images before the build.

Styles

The project uses LESS to generate inlined styles templates that go to _includes/styles.

You can process all styles by running yarn less.

Scripts

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.

Favicons

Running yarn favicons generates a template partial in _includes folder and exporting all favicon images in assets/favicon at the same time.

Images

The rest of images needed are processed by running yarn images.

Release

On each deployment, yarn release runs yarn assets and yarn build to trigger an Eleventy build.

License

This site design and content is licensed under Apache License 2.0.

You can’t perform that action at this time.