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

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

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2025 09:19PM UTC
Files 114
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

05 Apr 2025 09:14PM UTC coverage: 76.487% (-0.4%) from 76.903%
14285885590.1

push

github

scriptype
[CM2] Introduce inline collection contentTypes 👇

Collection index can have these properties:
- contentType
- categoryContentType
- entryContentType
- categoryAlias
- categoriesAlias
- entryAlias
- entriesAlias
- defaultCategoryName

'defaultCategoryName' is to allow custom defaultCategory names per collection.
'ContentType' fields are used for template lookup during rendering.
'Alias' fields are to assist contentType-specific templates' readability.

for example, in a custom collection template, instead of:
{{#each categories}}

you can say:
{{#each technologies}}

given you set categoriesAlias: technologies in the collection index.

Similar logic applies to all aliases and their template counterparts.
You can talk domain-driven in your templates now 💫

The idea is to brace myself to standalone contentType definitions the
CMS frontend will eventually require. For now something resembling them
can be inlined to collection frontMatter. Besides, compiler probably won't ever
care about much more than what is implemented here.

Also:
- Fix default category index overriding collection index by giving it an actual
slug, outputPath etc.
- Remove the unneeded Settings dependency from attachment, category, post and tag
- Lookup for a 'default.hbs' during rendering as a last resort, instead of 'index.hbs'
- Get rid of the default 'text' contentType

What's left:
A theme2 I guess...

443 of 698 branches covered (63.47%)

Branch coverage included in aggregate %.

2231 of 2798 relevant lines covered (79.74%)

37.12 hits per line

Source Files on job 14285885590.1
  • Tree
  • List 114
  • Changed 10
  • Source Changed 10
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 14285885590
  • 739acb18 on github
  • Prev Job for on master (#14285354238.6)
  • Next Job for on master (#14347888629.8)
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