• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bcomnes / siteup / 6529097669
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: v6.0.0
DEFAULT BRANCH: master
Ran 16 Oct 2023 04:43AM UTC
Jobs 1
Files 39
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2023 04:42AM UTC coverage: 88.512% (+2.5%) from 85.993%
6529097669

push

github

bcomnes
Implement template files and page instrospection

BREAKING CHANGE: change the function signature passed to layouts and pages.

Before all global, layout, page, and builder vars would get merged into an object, along with the scripts and styles array. Now these user defined variables come in on the same object, but under the key `vars`. See the updated examples to see how this works.

Also implements page introspection. Layouts and js pages receive a `page` and `pages` variable. They include a resolved `vars` key that includes the fully resolved variable object for the page.

The `pages` variable is similar, but it includes an array of all pages in the site, so that pages and templates can iterate through them to create RSS feeds, or index pages for blogs and what not. The shape of this will probably change soon, but it's there to experiment with. Each page object includes a method to render the inner and full page easily (`renderInnerPage ({ pages })` and `async renderFullPage ({ pages })`. You need to pass a pages instance, though this may also change soon.)

Template files let you generate any file while accessing the globalVars object, as well the `pages` array for generate RSS feeds.

180 of 214 branches covered (0.0%)

Branch coverage included in aggregate %.

438 of 438 new or added lines in 17 files covered. (100.0%)

1307 of 1466 relevant lines covered (89.15%)

10.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
91.14
lib/build-pages/page-builders/template-builder.js
7
82.24
-0.75% lib/build-pages/index.js

Uncovered Existing Lines

Lines Coverage ∆ File
4
82.24
-0.75% lib/build-pages/index.js
Jobs
ID Job ID Ran Files Coverage
1 6529097669.1 16 Oct 2023 04:43AM UTC 39
88.51
GitHub Action Run
Source Files on build 6529097669
  • Tree
  • List 39
  • Changed 13
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6529097669
  • 64ff2ed5 on github
  • Prev Build on master (#6452250626)
  • Next Build on beta (#6529110924)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc