Skip to content

Commit c27773f

Browse files
committed
Updating to use path prefix
1 parent 02822f9 commit c27773f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

events/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ eventEmitter.emit('foo', 'bar')
5555

5656
Listeners _listen_ for events, that are _emitted_ from emitters.
5757

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

6060
## Exercise
6161

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ TODO:
88
- Set out the purpose here and list the sections with links
99
- Styling and update the default template
1010

11-
[Events](/events)
11+
[Events]({{ "/events" | url }})

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"version": "1.0.0",
44
"description": "OpenJS Node application developer study guide",
55
"scripts": {
6-
"start": "eleventy --serve --input=. --output=_site",
7-
"build": "eleventy --config=.eleventy-deploy.js",
8-
"deploy": "npm run build && gh-pages -d _site/_eleventy_redirect"
6+
"start": "npx eleventy --serve",
7+
"preDeploy": "npx eleventy --pathprefix=openjs-nodejs-application-developer-study-guide",
8+
"deploy": "npm run preDeploy && gh-pages -d _site"
99
},
1010
"repository": {
1111
"type": "git",

0 commit comments

Comments
 (0)