Add WCAG 2.0 link to the footer

This commit is contained in:
Rowan Manning
2013-11-11 10:37:58 +00:00
parent 080001db89
commit 597b0746ec
3 changed files with 4 additions and 6 deletions

3
app.js
View File

@@ -51,8 +51,7 @@ function initApp (config, callback) {
year: (new Date()).getFullYear(),
version: pkg.version,
repo: pkg.homepage,
bugtracker: pkg.bugs,
rules: pkg.snifferules
bugtracker: pkg.bugs
});
app.express.use(function (req, res, next) {
res.locals.isHomePage = (req.path === '/');

View File

@@ -16,7 +16,6 @@
},
"homepage": "https://github.com/nature/pa11y-dashboard",
"bugs": "https://github.com/nature/pa11y-dashboard/issues",
"snifferules": "https://github.com/nature/pa11y/wiki/HTML-CodeSniffer-Rules",
"engines": {
"node": ">=0.10"

View File

@@ -7,13 +7,13 @@
<div class="col-md-5 clearfix">
<ul class="crunch-bottom floated-list nav">
<li>
<a href="{{repo}}">github repo</a>
<a href="{{repo}}">GitHub Repo</a>
</li>
<li>
<a href="{{bugtracker}}">bug tracker</a>
<a href="{{bugtracker}}">Bug Tracker</a>
</li>
<li>
<a href="{{rules}}">list of rules</a>
<a href="http://www.w3.org/TR/WCAG20/">WCAG 2.0 spec</a>
</li>
</ul>
</div>