├── .gitignore
├── site
├── post2
│ └── index.html
├── images
│ ├── img1.jpg
│ ├── img2.jpg
│ └── img3.jpg
├── post1
│ └── index.html
└── index.html
├── input
├── images
│ ├── img1.jpg
│ ├── img2.jpg
│ └── img3.jpg
├── post2.md
├── index.md
└── post1.md
├── .eleventy.js
└── package.json
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/site/post2/index.html:
--------------------------------------------------------------------------------
1 |
PoSt 2
2 | 
3 |
--------------------------------------------------------------------------------
/site/images/img1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pdehaan/11ty-1945/main/site/images/img1.jpg
--------------------------------------------------------------------------------
/site/images/img2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pdehaan/11ty-1945/main/site/images/img2.jpg
--------------------------------------------------------------------------------
/site/images/img3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pdehaan/11ty-1945/main/site/images/img3.jpg
--------------------------------------------------------------------------------
/input/images/img1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pdehaan/11ty-1945/main/input/images/img1.jpg
--------------------------------------------------------------------------------
/input/images/img2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pdehaan/11ty-1945/main/input/images/img2.jpg
--------------------------------------------------------------------------------
/input/images/img3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pdehaan/11ty-1945/main/input/images/img3.jpg
--------------------------------------------------------------------------------
/input/post2.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: PoSt 2
3 | ---
4 |
5 | # {{ title }}
6 |
7 | 
8 |
--------------------------------------------------------------------------------
/input/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: InDeX
3 | ---
4 |
5 | # {{ title }}
6 |
7 | - [post 1](./post1/)
8 | - [post 2](./post2/)
9 |
--------------------------------------------------------------------------------
/input/post1.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: PoSt 1
3 | ---
4 |
5 | # {{ title }}
6 |
7 | 
8 | 
9 |
--------------------------------------------------------------------------------
/site/post1/index.html:
--------------------------------------------------------------------------------
1 | PoSt 1
2 |
3 | 
4 |
--------------------------------------------------------------------------------
/site/index.html:
--------------------------------------------------------------------------------
1 | InDeX
2 |
6 |
--------------------------------------------------------------------------------
/.eleventy.js:
--------------------------------------------------------------------------------
1 | module.exports = function (eleventyConfig) {
2 | // Copy image assets into output folder.
3 | eleventyConfig.addPassthroughCopy("input/images");
4 |
5 | return {
6 | dir: {
7 | input: "input",
8 | output: "site",
9 | },
10 | };
11 | };
12 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "11ty-1945",
3 | "description": "",
4 | "version": "1.0.0",
5 | "author": "",
6 | "bugs": {
7 | "url": "https://github.com/pdehaan/11ty-1945/issues"
8 | },
9 | "dependencies": {
10 | "@11ty/eleventy": "^0.12.1"
11 | },
12 | "devDependencies": {},
13 | "homepage": "https://github.com/pdehaan/11ty-1945#readme",
14 | "keywords": [],
15 | "license": "ISC",
16 | "main": "index.js",
17 | "repository": {
18 | "type": "git",
19 | "url": "git+https://github.com/pdehaan/11ty-1945.git"
20 | },
21 | "scripts": {
22 | "build": "eleventy",
23 | "serve": "eleventy --serve",
24 | "test": "echo \"Error: no test specified\" && exit 1"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------