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

bcomnes / siteup / 6529097669 / 1
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: v6.0.0
DEFAULT BRANCH: master
Ran 16 Oct 2023 04:43AM UTC
Files 39
Run time 0s
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.1

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 %.

1307 of 1466 relevant lines covered (89.15%)

10.56 hits per line

Source Files on job 6529097669.1
  • 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 Build 6529097669
  • 64ff2ed5 on github
  • Prev Job for on beta (#6452250626.1)
  • Next Job for on beta (#6529110924.1)
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

© 2026 Coveralls, Inc