├── .gitignore
├── www
├── about
│ └── index.html
├── contact
│ └── index.html
└── index.html
├── src
├── about.liquid
├── contact.liquid
└── index.liquid
├── .eleventy.js
└── package.json
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/www/about/index.html:
--------------------------------------------------------------------------------
1 |
2 |
About page
3 |
--------------------------------------------------------------------------------
/www/contact/index.html:
--------------------------------------------------------------------------------
1 |
2 | About page
3 |
--------------------------------------------------------------------------------
/src/about.liquid:
--------------------------------------------------------------------------------
1 | ---
2 | title: About page
3 | updated: "2022-02-22"
4 | ---
5 |
6 | {{ title }}
7 |
--------------------------------------------------------------------------------
/src/contact.liquid:
--------------------------------------------------------------------------------
1 | ---
2 | title: Contact page
3 | updated: 2022-03-13
4 | ---
5 |
6 | {{ title }}
7 |
--------------------------------------------------------------------------------
/.eleventy.js:
--------------------------------------------------------------------------------
1 | module.exports = function (eleventyConfig) {
2 | return {
3 | dir: {
4 | input: "src",
5 | output: "www",
6 | }
7 | };
8 | };
9 |
--------------------------------------------------------------------------------
/src/index.liquid:
--------------------------------------------------------------------------------
1 | ---
2 | title: Index page
3 | updated: 2022-01-31
4 | ---
5 |
6 | {{ title }}
7 |
8 |
9 |
10 | {% assign latestchanges = collections.all | sort: 'updated' | reverse %}
11 |
12 | {%- for page in latestchanges limit: 5 %}
13 | -
14 | {{ page.data.updated }} {{ page.data.title }} - {{ page.data.git_commit_msg }}
15 |
16 | {%- endfor %}
17 |
18 |
--------------------------------------------------------------------------------
/www/index.html:
--------------------------------------------------------------------------------
1 |
2 | Index page
3 |
4 |
5 |
6 |
7 |
8 | -
9 | Sat Mar 12 2022 16:00:00 GMT-0800 (Pacific Standard Time) About page -
10 |
11 | -
12 | Sun Jan 30 2022 16:00:00 GMT-0800 (Pacific Standard Time) Index page -
13 |
14 | -
15 | Mon Feb 21 2022 16:00:00 GMT-0800 (Pacific Standard Time) About page -
16 |
17 |
18 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "11ty-2324",
3 | "version": "1.0.0",
4 | "main": ".eleventy.js",
5 | "scripts": {
6 | "build": "eleventy",
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "keywords": [],
10 | "author": "Peter deHaan ",
11 | "license": "MPL-2.0",
12 | "description": "",
13 | "devDependencies": {
14 | "@11ty/eleventy": "^1.0.0"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------