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

scriptype / writ-cms
75%

Build:
DEFAULT BRANCH: master
Repo Added 22 Jan 2024 09:47PM UTC
Files 108
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • cms
  • compiler2
  • master
  • v0.27.0
  • v0.28.0
  • v0.28.1
  • v0.28.2
  • v0.28.3
  • v0.29.0
  • v0.29.1
  • v0.29.2

16 Apr 2025 12:23AM UTC coverage: 75.488% (-0.03%) from 75.517%
14481949487

push

github

scriptype
[CM2] A collection can render at the root if empty slug

If 'slug:' is added to its frontMatter, its permalink and outputPath will collapse into those of its parent context.

When the parent permalink is just '/', child permalinks would break. So, a simple makePermalink helper is used to encapsulate dealing with this case. This helper is used in all models, with the idea of turning any page into a homepage by using the slug: technique. But this is not implemented in models beyond collection, as it'd take more (and ugly) work.

If turning any entry or index page into a homepage using the slug technique worked easily, it could work behind the scenes of a 'homepage' frontMatter property. But maybe later.

Anyway, rendering a collection in the root is especially helpful for sites with just one collection. The url scheme will work just like it did with CM1.

483 of 756 branches covered (63.89%)

Branch coverage included in aggregate %.

16 of 21 new or added lines in 9 files covered. (76.19%)

2264 of 2883 relevant lines covered (78.53%)

325.92 hits per line

Relevant lines Covered
Build:
Build:
2883 RELEVANT LINES 2264 COVERED LINES
325.92 HITS PER LINE
Source Files on master
  • Tree
  • List 108
  • Changed 108
  • Source Changed 108
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
14481949487 master [CM2] A collection can render at the root if empty slug If 'slug:' is added to its frontMatter, its permalink and outputPath will collapse into those of its parent context. When the parent permalink is just '/', child permalinks would break. So,... push 16 Apr 2025 12:23AM UTC scriptype github
75.49
14457986741 master [CM2] Export Category.linkPosts So collection doesn't need to duplicate it for defaultCategory push 14 Apr 2025 11:45PM UTC scriptype github
75.52
14457164071 master [CM2] Fix post links by passing the same post reference in category push 14 Apr 2025 10:40PM UTC scriptype github
75.47
14434359401 master [CM2] Introduce deep categorization This is a combination of 3 commits. Brace yourself. For now the taxonomy depth is max 3. Because why not. This required looking up to parent context for content modelling information, instead of reaching out ... push 13 Apr 2025 11:26PM UTC scriptype github
75.45
14434185121 master [CM2] Introduce deep categorization This is a combination of 3 commits. Brace yourself. For now the taxonomy depth is max 3. Because why not. This required looking up to parent context for content modelling information, instead of reaching out ... push 13 Apr 2025 11:03PM UTC scriptype github
75.45
14370824687 master [CM2] Introduce ContentTypes and root.md Now standalone content types can be stored in a schema folder (customizable via settings). For now, they have the content-modelling properties + a model property which points to a model. e.g. collection,... push 10 Apr 2025 02:15AM UTC scriptype github
76.15
14347888629 master [CM2] model.match(),create() rootContext and fixes Some ideas in this one: Match & Create ============== Each model has a method named 'match' which returns whether or not a node satisfies the model's fsNode requirements. And they have a 'creat... push 09 Apr 2025 02:51AM UTC scriptype github
76.23
14285885590 master [CM2] Introduce inline collection contentTypes 👇 Collection index can have these properties: - contentType - categoryContentType - entryContentType - categoryAlias - categoriesAlias - entryAlias - entriesAlias - defaultCategoryName 'defaultCateg... push 05 Apr 2025 09:19PM UTC scriptype github
76.52
14285354238 master ¯\_( ̄・_______・ ̄)_/¯ push 05 Apr 2025 08:06PM UTC scriptype github
76.93
14274393841 master [CM2] Simplify homepage + make its outputPath like all else push 04 Apr 2025 09:21PM UTC scriptype github
76.82
See All Builds (178)
  • Repo on GitHub
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