Skip to content

Commit a7e3d1f

Browse files
committed
Add 11ty
- With minimal content & config
1 parent bf482ed commit a7e3d1f

5 files changed

Lines changed: 3553 additions & 1 deletion

File tree

.eleventy.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = function(config) {
2+
return {
3+
dir: {
4+
input: 'src',
5+
output: 'dist'
6+
},
7+
};
8+
};

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist
2+
node_modules
3+
4+
.DS_Store

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,14 @@
55
"repository": "https://github.com/kylegach/kylegach.com.git",
66
"author": "Kyle Gach <kyle.gach@gmail.com>",
77
"license": "MIT",
8-
"private": true
8+
"private": true,
9+
"devDependencies": {
10+
"@11ty/eleventy": "^0.10.0"
11+
},
12+
"scripts": {
13+
"build": "ELEVENTY_ENV=production yarn eleventy",
14+
"clean": "rm -rf dist",
15+
"serve": "ELEVENTY_ENV=development yarn eleventy --serve",
16+
"start": "yarn serve"
17+
}
918
}

src/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Hello world

0 commit comments

Comments
 (0)