diff --git a/lib/plugins/html/htmlBuilder.js b/lib/plugins/html/htmlBuilder.js index bac1fb13b..c103262fc 100644 --- a/lib/plugins/html/htmlBuilder.js +++ b/lib/plugins/html/htmlBuilder.js @@ -9,6 +9,7 @@ const fs = require('fs'), get = require('lodash.get'), set = require('lodash.set'), log = require('intel'), + packageInfo = require('../../../package'), renderer = require('./renderer'); Promise.promisifyAll(fs); @@ -113,6 +114,7 @@ class HTMLBuilder { pageDescription: '', showWaterfallSummary: locals.options.html.showWaterfallSummary, headers: this.summaryPages, + version: packageInfo.version, h: helpers }, locals); @@ -128,6 +130,7 @@ class HTMLBuilder { pageTitle: name + ' ' + url, pageDescription: '', headers: this.summaryPages, + version: packageInfo.version, h: helpers }, locals); @@ -141,6 +144,7 @@ class HTMLBuilder { pageTitle: name, pageDescription: '', headers: this.summaryPages, + version: packageInfo.version, h: helpers }, locals); diff --git a/lib/plugins/html/templates/footer.pug b/lib/plugins/html/templates/footer.pug index 841e5405a..b8cc8bcef 100644 --- a/lib/plugins/html/templates/footer.pug +++ b/lib/plugins/html/templates/footer.pug @@ -2,10 +2,7 @@ footer hr p a(href='https://www.sitespeed.io') sitespeed.io - | #{' by '} - a(href='https://twitter.com/soulislove') Peter Hedenskog - | #{', '} - a(href='https://twitter.com/tobiaslidskog') Tobias Lidskog - br + | #{' '} #{version} #{' by '} + a(href='https://www.sitespeed.io/aboutus/') the sitespeed.io team | #{' and '} a(href='https://github.com/sitespeedio/sitespeed.io/blob/master/CONTRIBUTORS.md') contributors