Skip to content

Commit

Permalink
Add 11ty
Browse files Browse the repository at this point in the history
- With minimal content & config
  • Loading branch information
kylegach committed May 6, 2020
1 parent bf482ed commit a7e3d1f
Show file tree
Hide file tree
Showing 5 changed files with 3,553 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = function(config) {
return {
dir: {
input: 'src',
output: 'dist'
},
};
};
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
node_modules

.DS_Store
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@
"repository": "https://github.com/kylegach/kylegach.com.git",
"author": "Kyle Gach <kyle.gach@gmail.com>",
"license": "MIT",
"private": true
"private": true,
"devDependencies": {
"@11ty/eleventy": "^0.10.0"
},
"scripts": {
"build": "ELEVENTY_ENV=production yarn eleventy",
"clean": "rm -rf dist",
"serve": "ELEVENTY_ENV=development yarn eleventy --serve",
"start": "yarn serve"
}
}
1 change: 1 addition & 0 deletions src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Hello world
Loading

0 comments on commit a7e3d1f

Please sign in to comment.