mirror of
https://github.com/les-briques-du-web/les-briques-du-web-website.git
synced 2026-03-10 08:51:22 +00:00
main
Website for Les Briques du Web
🚧 Still a work in progress 🚧
An Eleventy site
Les Briques du Web is statically generated from this source code with the Eleventy static site generator using JavaScript templates (*.11ty.js).
It's based on eleventy-dot-js-blog started made by Reuben L. Lillie.
Getting started
Run a local copy of this site on your computer.
Install Node.js on your machine (see 11ty documentation for version requirements).
Then enter the following commands into your terminal:
1. Clone this repository and all its dependencies
git clone git@gitlab.com:reubenlillie/eleventy-dot-js-blog.git my-blog-directory-name
2. Go to the working directory
cd my-blog-directory-name
Specifically take a look at the file named .eleventy.js to see if you want to configure any Eleventy options differently.
3. Install the project dependencies with NPM
npm install
4. Edit the .js files in the _data directory with your site information
5. Run Eleventy
npx eleventy
Or build and host locally for local development
npx eleventy --serve
Or build automatically when a template changes
npx eleventy --watch
Or in debug mode
DEBUG=* npx eleventy
© 2021 by Horacio Gonzalez
Languages
JavaScript
85.2%
CSS
14.8%