Collections in Life Archive Format
Collections create curated groups inside an archive. They are useful for topics, projects, family branches, recipe categories, travel journals, exhibitions, reading paths, and any other grouping whose order and presentation matter.
Each collection is a Markdown file under collections/.
Naming collections in the interface
An archive can customize the singular and plural collection names in life.json:
{
"labels": {
"collection": "Project",
"collections": "Projects"
}
}
The reference app uses these names in navigation, headings, metadata, counts, search guidance, and normal collection detail pages. This is a presentation label only: the folder remains collections/, entity frontmatter still uses type: collection, and other tools can continue to recognize the standard format. Timeline collections retain the distinct label Timeline.
Board collection example
---
id: family-recipes
type: collection
kind: board
title: Family Recipes
description: Recipes preserved and shared across generations.
featured: true
pos: 1
cover: covers/family-recipes.jpg
items:
- entry:grandmothers-apple-pie-recipe
- entry:festival-sweets
- person:margaret-bennett
- place:brighton
- file:recipe-card.jpg
tags:
- food
- family
---
This collection brings together recipes, people, places, and original documents.
Core fields
typemust becollection.idis the stable collection identity. If omitted, it is derived from the Markdown path.kindselects the collection behavior. The reference app supportsboardfor a normal collection detail page,timelinefor a dated sequence of entries, andlinkfor an internal or external navigation card.titleanddescriptionprovide the collection's display name and summary.featured: truemakes the collection eligible for prominent home-page placement. If an archive has featured collections, the home page prioritizes that featured set.posis an optional numeric sort position. Collections with lower positions sort first; collections without a position sort after positioned collections by title.coverpoints to an asset underfiles/. Bothcovers/example.jpgandfile:covers/example.jpgare accepted by the current renderer.tagsprovides free-form classification.- The Markdown body provides a longer introduction for the collection page.
Typed items
The items list is ordered and uses a type prefix:
items:
- entry:a-family-story
- person:margaret-bennett
- place:brighton
- file:portrait.jpg
Supported prefixes are entry:, person:, place:, and file:. The reference reader also accepts dedicated arrays:
entries:
- a-family-story
people:
- margaret-bennett
places:
- brighton
files:
- portrait.jpg
Typed items are best when one curated sequence should contain different entity types. Dedicated arrays are useful for generated archives or tools that manage each relationship separately. When both forms are supplied, the reader combines them; avoid repeating the same reference in both.
Ordering and inverse references
The order of items is meaningful and should be preserved by tools. An entry may also name this collection in its own collections list, but that inverse reference does not add or reorder the collection's items. For predictable rendering, maintain both references when both navigation directions matter.
Timeline collections
A timeline collection presents its entries as a dated sequence:
---
id: experience
type: collection
kind: timeline
title: Experience
description: Selected roles and projects.
items:
- entry:principal-designer
- entry:product-design-lead
- entry:senior-designer
---
Each referenced entry supplies the timeline date, title, and supporting line:
---
id: principal-designer
type: entry
title: Principal Designer
date: 2024-01
---
Leading product strategy and design across the organization.
The reference app renders every timeline collection after the normal collection cards on the home page. Each item shows its date, title, and a short line extracted from the entry body. Entries are sorted newest first by date, the home page shows a limited preview, and View all links to the collection page where the complete timeline is displayed. Entries without a date appear after dated entries as ongoing items. Multiple timeline collections can represent sections such as Experience, Education, and Awards.
Link collections
The reference app also supports lightweight external or internal link cards:
---
id: project-source
type: collection
kind: link
title: Project Source Code
description: Visit the source repository.
href: https://github.com/example/archive
featured: true
---
For kind: link, the destination may be stored in href, link, or url. This is a renderer extension for navigation cards; portable tools that do not understand it can still preserve and display the collection metadata.
The optional layout field is indexed for future or renderer-specific presentation choices. The current reference app does not use it to change the board layout.