This is a template repository for a very simple statically-generated website using eleventy with the following features:
- Main landing page listing latest blog posts and latest wiki articles
- A Blog section listing all blog posts
- A Wiki section listing all wiki articles
- An About page
- Reusable navigation bar (section hyperlinks) for all pages
- Reusable header and footer partial elements for all pages
- A working generic
favicon.ico
- Empty
_drafts
folder which gets ignored when building the site to store your draft blog posts and wiki articles
As you will notice, the site has no styling (blank style.css
file), and ships without any JavaScript (blank script.js
file). This is meant to be a working blank canvas that you can make your own.
This project is readily deployable using Netlify!
This project depends on two npm
packages:
- @11ty/eleventy >= 2.0.0
- luxon >= 3.4.0
Therefore, you must have npm
and nodejs
installed.
To install these dependencies locally, navigate to the project's root and run the following commands:
$ npm install
To build the static website locally using eleventy
, navigate to the project's root and run the following commands:
$ npm build
To run the static website locally, navigate to the project's root and run the following commands:
$ npm start
This project is also ready to be deployed using Netlify