diff --git a/README.md b/README.md index 34c670e..54d863b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -specs.webplatform.org -===================== +# [WebPlatform Specs](http://specs.webplatform.org) -The content of that site +The static content served for specs.webplatform.org. \ No newline at end of file diff --git a/docpad.js b/docpad.js index 6f11bc1..0794d59 100644 --- a/docpad.js +++ b/docpad.js @@ -1,4 +1,13 @@ module.exports = { - + templateData: { + site: { + name: "WebPlatform Specs", + title_append: " · WebPlatform Specs", + tagline: "the kind, gentle, and fun place to make specs", + url: "http://specs.webplatform.org", + title: "WebPlatform Specs" + } + } + ,port: 9003 }; diff --git a/package.json b/package.json index cb85102..e37964c 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,23 @@ { "name": "specs.webplatform.org" , "version": "0.1.0" -, "description": "Static site for specs.wpo" +, "description": "Static site for specs.webplatform.org" , "engines": { "node": "0.10" , "npm": "1.3" } , "dependencies": { - "docpad": "~6.69.0" - , "docpad-plugin-jade": "~2.7.0" - , "docpad-plugin-less": "~2.4.1" - , "docpad-plugin-livereload": "~2.6.0" + "docpad": "~6.69" + , "docpad-plugin-jade": "~2.7" + , "docpad-plugin-less": "~2.4" + , "docpad-plugin-livereload": "~2.6" } , "main": "node_modules/docpad/bin/docpad-server" , "scripts": { "start": "node_modules/docpad/bin/docpad-server" } +, "repository": { + "type": "git" + , "url": "git@github.com:webspecs/specs.webplatform.org.git" + } } diff --git a/src/layouts/default.html.jade b/src/layouts/default.html.jade index df08a2e..2d88133 100644 --- a/src/layouts/default.html.jade +++ b/src/layouts/default.html.jade @@ -3,8 +3,8 @@ html(lang="en") head meta(charset="utf-8") meta(name="viewport", content="width=device-width") - - var tit = document.title + " | WebPlatform Specs" - title= tit + - var docTitle = document.title + site.title_append + title= docTitle != getBlock("styles").add(["/styles/kraken.css"]).toHTML() body header @@ -25,4 +25,3 @@ html(lang="en") | • a(href="/policy/anti-jerk.html") anti-jerk policy != getBlock("scripts").toHTML() - diff --git a/src/static/favicon.ico b/src/static/favicon.ico new file mode 100644 index 0000000..c6417c7 Binary files /dev/null and b/src/static/favicon.ico differ