├── .gitignore
├── posts
├── posts.json
└── index.md
├── .eleventy.js
├── index.md
├── _includes
├── page.njk
├── post.njk
└── base.njk
├── README.md
└── package.json
/.gitignore:
--------------------------------------------------------------------------------
1 | _site
2 | node_modules
--------------------------------------------------------------------------------
/posts/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "layout": "post.njk"
3 | }
4 |
--------------------------------------------------------------------------------
/.eleventy.js:
--------------------------------------------------------------------------------
1 | module.exports = () => {
2 | return {};
3 | };
4 |
--------------------------------------------------------------------------------
/posts/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Emp.ty
3 | ---
4 |
5 | This is empty.
6 |
--------------------------------------------------------------------------------
/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: "page.njk"
3 | title: Emp.ty
4 | ---
5 |
6 | There is nothing here.
7 |
--------------------------------------------------------------------------------
/_includes/page.njk:
--------------------------------------------------------------------------------
1 | {% extends 'base.njk' %}
2 | {% block content %}
3 |
4 | {{ content | safe }}
5 |
6 | {% endblock %}
--------------------------------------------------------------------------------
/_includes/post.njk:
--------------------------------------------------------------------------------
1 | {% extends 'base.njk' %}
2 | {% block content %}
3 |
4 | {{ content | safe }}
5 |
6 | {% endblock %}
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Emp.ty
2 |
3 | A boilerplate for 11ty projects. It is ABSOLUTELY empty.
4 |
5 | This exists because Mike can forget how to write small amounts of code no matter how many times he has done it.
6 |
7 | You can use it if you want.
8 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "emp.ty",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": ".eleventy.js",
6 | "scripts": {
7 | "start": "npx eleventy clean && npx eleventy --serve"
8 | },
9 | "author": "",
10 | "license": "ISC"
11 | }
12 |
--------------------------------------------------------------------------------
/_includes/base.njk:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% block header %}
6 | {{ title }}
7 | {% endblock %}
8 |
9 |
10 | {% block head %}{% endblock %}
11 | {% block content %}{% endblock content %}
12 | {% block foot %}{% endblock %}
13 |
14 |
--------------------------------------------------------------------------------