Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion events/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ eventEmitter.emit('foo', 'bar')

Listeners _listen_ for events, that are _emitted_ from emitters.

Take me to [cheat sheet](../cheatsheet/#events)
Take me to [cheat sheet]({{ "/cheatsheet/#events" | url }})

## Exercise

Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ TODO:
- Set out the purpose here and list the sections with links
- Styling and update the default template

[Events](/events)
[Events]({{ "/events" | url }})
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "1.0.0",
"description": "OpenJS Node application developer study guide",
"scripts": {
"start": "eleventy --serve --input=. --output=_site",
"build": "eleventy --config=.eleventy-deploy.js",
"deploy": "npm run build && gh-pages -d _site/_eleventy_redirect"
"start": "npx eleventy --serve",
"preDeploy": "npx eleventy --pathprefix=openjs-nodejs-application-developer-study-guide",
"deploy": "npm run preDeploy && gh-pages -d _site"
},
"repository": {
"type": "git",
Expand Down