Content and data
Load Markdown, JSON, YAML and XML into typed C# data, then shape it with processors, references and groups.
[DataSource("Posts", "./*.md", OrderBy = "Date desc, Title")]
public sealed record BlogPost(string Slug, string Title, DateOnly Date, string RawMarkdown);
You declare a record. Bevel reads your files during dotnet build and gives your pages typed data. Read these pages top to bottom.
Declare a record, point it at files, pick an order.
Bind front matter and the raw body.
The same record, three more formats.
Read Markdown from folders below a root.
Catch missing values and duplicate slugs.
Link an item to an item in another dataset.
Tags, categories and archives without code.
Compute values and check content at build time.
Remove items from the data.
Which environment build-time code runs in.
Read TOML, CSV or any text format with a small reader.
Load data that does not come from a file.