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

scriptype / writ-cms / 19004420889 / 1
39%
master: 39%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2025 11:51PM UTC
Files 108
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

01 Nov 2025 11:49PM UTC coverage: 71.375% (-0.4%) from 71.747%
19004420889.1

push

github

scriptype
[CM2] Link categories and collections in entry fields

A breadth-first search is done to match the shallowest entry first.

So, if these entries exist:
- demos/geocentric-universe
- demos/css/geocentric-universe
- demos/css/css-only/geocentric-universe

The following front-matter:
---
favoriteDemo: +demos/geocentric-universe
bestDemo: +demos/css/geocentric-universe
crazyDemo: +demos/css/css-only/geocentric-universe
---

would result in exactly what it looks like it should.

In the earlier code, subcategories were not being traversed and also a
bug (links.categorySlug) meant that it always looked at
collection.posts, and never actually considered the categorySlug.

With this update it's also fixed.

And categories and collections can now also be linked through
front-matter fields.

519 of 884 branches covered (58.71%)

Branch coverage included in aggregate %.

2316 of 3088 relevant lines covered (75.0%)

33.81 hits per line

Source Files on job 19004420889.1
  • Tree
  • List 108
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19004420889
  • c223c1b5 on github
  • Prev Job for on master (#18968622073.2)
  • Next Job for on master (#19016485962.9)
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