From 79002bb887ee732645e75d5b53ca6ee098bd6233 Mon Sep 17 00:00:00 2001 From: Renoir Boulanger Date: Tue, 30 Sep 2014 20:04:23 +0000 Subject: [PATCH 1/2] Documenting how to deploy and missing settings Signed-off-by: Renoir Boulanger --- README.md | 5 ++--- docpad.js | 11 ++++++++++- package.json | 6 +++++- src/layouts/default.html.jade | 5 ++--- src/static/favicon.ico | Bin 0 -> 1150 bytes 5 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 src/static/favicon.ico 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..bcdbcfb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "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" @@ -16,4 +16,8 @@ , "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..05a4dd2 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 + ((typeof document.subtitle !== 'undefined')?' ' + document.subtitle + ' ' :'') + 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 0000000000000000000000000000000000000000..c6417c7146dacdb6166fcd7aa6c7af1666c77ddc GIT binary patch literal 1150 zcmd6lYe-XJ7{}j(LLVZu>_Ua8nKbhz_KIqhst|GiUoO3LVC=kT28oag=j-skxrUP2gp zySftk^d#q;30Y4F;nAQaT3M{qME27)x0Q=w|NdXDnVC7{h>b|k9D!ChjpgRjH`U`& zMhdj@$|ah|Pd+31NFOd|jleHRhXDh-WZk}B-%BNKMGDYREXK`<9nfnUIL$rj1QHVU zD3FfB-Ma(fM+eZ-`Ew3^tp?(Q@wgo$K#x*E_X$B)T^YwqI%lyiVi4||Tfqy|V&{P# zL>?PNYxg{c6-pEyK7+jI6AFc8Hw2zf2lhnuBQ#16 zVMsBu_MV0;_AK&aPT|__Z759-K%?9n`o0x@rp#^-I6)9JZ@N!8-Yl9XyGD{KW8V_AX z0h(V0qw$45)K8b;^H>CwS}@K6*=aIF3oalcC>3S7wV0oKho+i9G(P`3zrBdXqy-D! z6xABEX?hpl&ENWHZ|eOId@l9BDu;#LgPk`{&vXCAahA+qdnxM&b+sp6)A-f@-8LJ- z$}LD$TCr8i;* Date: Tue, 30 Sep 2014 16:50:38 -0400 Subject: [PATCH 2/2] Forgotten files --- package.json | 8 ++++---- src/layouts/default.html.jade | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index bcdbcfb..e37964c 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,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": { diff --git a/src/layouts/default.html.jade b/src/layouts/default.html.jade index 05a4dd2..2d88133 100644 --- a/src/layouts/default.html.jade +++ b/src/layouts/default.html.jade @@ -3,7 +3,7 @@ html(lang="en") head meta(charset="utf-8") meta(name="viewport", content="width=device-width") - - var docTitle = document.title + ((typeof document.subtitle !== 'undefined')?' ' + document.subtitle + ' ' :'') + site.title_append + - var docTitle = document.title + site.title_append title= docTitle != getBlock("styles").add(["/styles/kraken.css"]).toHTML() body