sitespeed.io/lib/plugins/html/templates/url/index.pug

46 lines
1.1 KiB
Plaintext

extends ./layout.pug
block content
h1 Page summary
h5 #{url}
p Tested using #{h.cap(options.browsertime.browser)} #{h.plural(options.browsertime.iterations, 'time')}.
include ./summaryBox.pug
.large All runs: 
each val, index in runPages
- value = Number(index) + 1
a(href='./' + index + '.html') #{value}
if (value !== Object.keys(runPages).length)
|  - 
if pageInfo.errors
h4 Errors
.errors= JSON.stringify(pageInfo.errors, null, 2)
- run = 0
h3 Statistics from run #{run + 1}
- var d = pageInfo.data
ul
if d.coach && d.coach.pageSummary
li: a(href='#coach') Coach
if d.browsertime && d.browsertime.pageSummary
li: a(href='#timings') Timings
if d.pagexray && d.pagexray.pageSummary
li: a(href='#pagexray') Info
if d.webpagetest
li: a(href='#webpagetest') WebPageTest
if d.coach && d.coach.pageSummary
include ./coach/index.pug
if d.browsertime && d.browsertime.pageSummary
include ./browsertime/index.pug
if d.pagexray && d.pagexray.pageSummary
include ./pagexray/index.pug
if d.webpagetest
include ./webpagetest/index.pug