From 4432a199590b9d17bcfd6d10b05f7e105e045561 Mon Sep 17 00:00:00 2001 From: Donovan Hutchinson Date: Fri, 8 Nov 2019 16:35:32 +0000 Subject: [PATCH] Adjusting things --- .eleventy.js | 1 + CNAME | 1 + index.md | 11 +++++------ package.json | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 CNAME diff --git a/.eleventy.js b/.eleventy.js index 9586d4f..ce33f9b 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,5 +1,6 @@ module.exports = function(eleventyConfig) { eleventyConfig.addPassthroughCopy("css"); + eleventyConfig.addPassthroughCopy("CNAME"); eleventyConfig.addLayoutAlias("default", "default.njk"); return { passthroughFileCopy: true diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..7dbda20 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +nodestudyguide.com \ No newline at end of file diff --git a/index.md b/index.md index 61c2d49..854c657 100644 --- a/index.md +++ b/index.md @@ -3,11 +3,10 @@ layout: default.njk title: OpenJS NodeJS Application Developer Study Guide --- -TODO: +Welcome to the ONAD Study Guide. This site has been set up to help you prepare for [OpenJS Node.js Application Developer (JSNAD)](https://training.linuxfoundation.org/certification/jsnad/) certification. -- Set out the purpose here and list the sections with links -- Styling and update the default template +Each of the topics on the left corresponds to an area of knowledge you will need to be familiar with. Feel free to work through the content in whatever order you like. -[Events]({{ "/events" | url }}) - --- Adding timestamp to test deploy +``` +NOTE: This is an early work-in-progress. Most content is not in place yet. Thank you for your patience! +``` diff --git a/package.json b/package.json index 1ebb6f6..880f23c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "OpenJS Node application developer study guide", "scripts": { "start": "npx eleventy --serve", - "preDeploy": "npx eleventy --pathprefix=openjs-nodejs-application-developer-study-guide", + "preDeploy": "npx eleventy", "deploy": "npm run preDeploy; timestamp=$(date \"+%s\") && gh-pages -d _site -m \"Deployed at $timestamp\"" }, "repository": {