sigildocs

(sigil publish generate)

(sigil publish generate) - Content Generation Pipeline Stages

Pipeline stages that generate synthetic content items from existing items (collection pages, RSS feeds, sitemaps, etc).

Exports

has-tag?procedure

Create a predicate that checks if item has a specific tag.

(filter (has-tag? "published") items)
has-metadata?procedure

Create a predicate that checks if item has a metadata key.

(filter (has-metadata? nav-group:) items)
matches-path?procedure

Create a predicate that checks if item path matches a pattern.

(filter (matches-path? "/posts/") items)