-
Notifications
You must be signed in to change notification settings - Fork 0
Domain Presets
Domain presets adjust labels, media ordering, gallery shape, and project facet fields for common archive types.
Use a preset with:
cr4te build -i path/to/Creators -o path/to/site --domain musicAvailable domains:
creatorartmusicfilmbookmodel
Image rendering defaults:
| Domain | Creator overview | Creator page profile image | Creator page member profile images | Project cover | Project page creator profile image | Project page collaboration profile image | Project page participant profile images |
|---|---|---|---|---|---|---|---|
creator |
image |
show |
show |
show |
show |
show |
show |
art |
image |
show |
show |
show |
show |
show |
show |
music |
image |
show |
show |
show |
show |
show |
show |
film |
text |
if_available |
if_available |
show |
if_available |
if_available |
if_available |
book |
text |
if_available |
if_available |
show |
if_available |
if_available |
if_available |
model |
image |
show |
show |
hide |
show |
show |
show |
The neutral default. It keeps generic labels:
- Creator / Creators
- Project / Projects
It does not add domain-specific project facets.
Music maps creators to musicians and projects to albums.
Notable behavior:
- Labels: Musician / Musicians, Album / Albums
- Audio appears first in media sections
- Project cards use a square aspect ratio
- Project facets include studios, cover artists, genres, producers, composers, musicians, labels, and instruments
Art maps creators to artists and projects to works.
Notable behavior:
- Labels: Artist / Artists, Work / Works
- Project cards use a square aspect ratio
- Project facets include genres, mediums, materials, exhibitions, and periods
Film maps creators to directors and projects to movies.
Notable behavior:
- Labels: Director / Directors, Movie / Movies
- Video appears first in media sections
- Project cards use a poster-like aspect ratio
- Audio section label becomes Soundtrack
- Project facets include studios, genres, actors, producers, editors, cinematographers, score composers, visual effects, writers, and costume designers
Book maps creators to authors and projects to books.
Notable behavior:
- Creator label: Author
- Project labels: Book / Books
- Documents appear first in media sections
- Project cards use a book-cover aspect ratio
- Project facets include languages, publishers, editors, translators, ISBNs, citations, cover artists, and genres
Model maps creators to models and projects to scenes.
Notable behavior:
- Labels: Model / Models, Scene / Scenes
- Collaboration member label becomes Featuring
- Project facets include photographers, studios, designers, poses, makeup artists, stylists, brands, and magazines
Domain presets are one way to produce the resolved configuration. A saved config file should be self-contained for later builds.
When a CLI domain override is applied, cr4te replaces the active project facet field set. Empty stale facets are removed from project metadata; stale facets with values are kept so user-entered metadata is not lost accidentally.