micro site
? Initial release
Opinionated micro front-end that can be used to create a one-pager. Great for landing pages or sign-up pages. It uses the static site generator Eleventy (11ty) under the hood and sets common 11ty defaults.
clean-css
terser
metadata.json
global data filebase.njk
layout templateassets folder
for static files (images, fonts etc.)This is a *skeleton project so it doesn't include any components or basic styling. It's a *bring your own front-end.
metadata.json
file with your own site detailsindex.njk
file and start coding your website!Requires node.js and npm
Follow these steps to get started:
$ git clone https://github.com/systemdes/micro-site.git
npm i
npm run dev
to start the live-reloadzz on a local development server.
micro-site/
├── _site/ // output folder of 11ty
├── _data/
│ └── metadata.json // metadata for the website
├── _includes/
│ ├── style.css // minified and inlined
│ ├── script.js // minified and inlined
│ └── base.njk // base layout
├── assets/ // passtrough copy
├── index.njk/ // landing page
└── .eleventy.js // 11ty configurations
eleventy-image
eleventy-cache-assets
eleventy-plugin-syntaxhiglight
MIT © Danny de Vries