Frontmatter Reference
Every content file starts with a frontmatter block — a section of metadata between --- lines at the top of the file. This page documents every field for each content type.
Content Pages
Used for general pages like the about page (over-ons/index.md) and the investigations overview (onderzoek/index.md).
---
title: Over Ons
description: >-
Sluit je aan bij Ongehoord en help dierenleed in de
Nederlandse dierindustrie te stoppen.
image:
src: /images/pages/over-ons/over-ons.jpg
alt: Over Ons.
sitemap:
priority: 0.7
changefreq: monthly
robots: index, follow
schemaOrg:
- "@type": "AboutPage"
name: "Over Ongehoord"
description: "Informatie over Ongehoord"
modifiedAt: '2026-02-18'
---Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Page title (shown in browser tab and headings) |
description | string | Yes | Page description (used for SEO meta tags, 150-160 chars ideal) |
image.src | string (URL) | Yes | Path to the header image, starting with /images/ |
image.alt | string | Yes | Alt text for the image (for accessibility) |
sitemap.priority | number | No | Sitemap priority from 0.0 to 1.0 (default: 0.5) |
sitemap.changefreq | string | No | How often the page changes: always, hourly, daily, weekly, monthly, yearly, never |
robots | string | No | Robots directive, e.g. index, follow or noindex, nofollow |
schemaOrg | array | No | Structured data for search engines (advanced, ask a developer) |
modifiedAt | string (date) | No | Last modification date in YYYY-MM-DD format |
Investigations
The main content type. Used for investigation articles at onderzoek/*/index.md.
---
title: Het leven van een varken
description: >-
Het onderzoeksteam van Ongehoord bezocht maarliefst
26 varkensfokkers. Het resultaat was een enorme
verzameling van gewonde, zieke en dode dieren.
animals:
- pig
video: https://vimeo.com/522281301
image:
src: /images/investigations/het-leven-van-een-varken/hero.jpg
alt: Het leven van een varken
date: 2011-06-19
published: true
modifiedAt: '2025-10-20'
robots: index, follow
sitemap:
changefreq: monthly
priority: 0.8
---Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Investigation title |
description | string | Yes | Brief summary (150-160 chars for SEO) |
animals | string[] | Yes | Array of animal keys (see valid values below) |
video | string (URL) | Yes | Vimeo URL for the investigation video |
image.src | string (URL) | Yes | Path to the cover image |
image.alt | string | Yes | Alt text for the cover image |
date | date | Yes | Publication date in YYYY-MM-DD format |
published | boolean | Yes | true to show on the site, false for drafts |
modifiedAt | date | No | Last modification date |
robots | string | No | Robots directive |
sitemap | object | No | Sitemap configuration |
WARNING
Setting published: false hides the investigation from the overview page and search engines. Use this for draft content that isn't ready yet.
Investigation Chapters
Used for chapter pages at onderzoek/*/hoofdstukken/*.md.
---
title: Natuurlijk leven
description: Het leven van een varken - Natuurlijk leven
image:
src: /images/investigations/het-leven-van-een-varken/natuurlijk-leven.jpg
alt: Natuurlijk leven
modifiedAt: '2025-10-20'
---Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Chapter title |
description | string | No | Chapter description |
image.src | string (URL) | Yes | Chapter header image |
image.alt | string | Yes | Alt text |
modifiedAt | date | No | Last modification date |
TIP
The chapter number prefix in the filename (e.g., 1.natuurlijk-leven.md) determines the display order. You don't need an explicit order field — just name the file correctly.
Locations
Used for location pages at onderzoek/*/locaties/*.md. Each location represents a farm, slaughterhouse, or other site filmed during an investigation.
---
position:
lat: 51.91561380008353
lng: 6.493277121053491
address:
street: Gendringseweg 37
postalCode: 7122 LT
city: Aalten
country: nl
video: https://youtu.be/oC4ODPcinRs
animals:
- pig
welfareBrandKey: beter-leven-1
owner: Paul Jansen
organization: BL1
stableSystem: ''
companyName: ''
title: Varkensmishandeling bij Paul Jansen in Aalten
modifiedAt: '2025-12-11'
---Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Location title (descriptive name) |
position.lat | number | Yes | Latitude (decimal degrees) |
position.lng | number | Yes | Longitude (decimal degrees) |
address.street | string | Yes | Street name and number |
address.postalCode | string | Yes | Postal code |
address.city | string | Yes | City name |
address.country | enum | Yes | nl (Netherlands) or be (Belgium) |
video | string (URL) | Yes | YouTube or Vimeo URL for this location's footage |
animals | string[] | Yes | Array of animal keys |
welfareBrandKey | enum | null | Yes | Welfare brand key or null if none (see valid values) |
owner | string | Yes | Name of the farm owner |
organization | string | null | Yes | Organization name, or null |
stableSystem | string | null | Yes | Type of stable system, or null |
companyName | string | null | Yes | Company name, or null |
visible | boolean | null | No | Whether the location is visible on the map |
modifiedAt | date | No | Last modification date |
Getting coordinates
The easiest way to find latitude and longitude:
- Go to Google Maps
- Right-click on the location
- Click the coordinates that appear — they're copied to your clipboard
- The first number is latitude, the second is longitude
About Page Sections
Used for sections on the about page at over-ons/01.hero.md, 02.onze-positie.md, etc.
---
title: Over Ongehoord
section: hero
background: dark
---Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Section title |
section | string | No | Section identifier (used by the page layout) |
background | string | No | Background style: dark, muted, or omit for default |
Annotation Sources
Used for scientific references and citations at onderzoek/*/bronnen/*.md. These files are very simple — they contain only the reference text, no frontmatter:
Marino, L. & Colvin, C.M. (2015) Thinking pigs: a comparative
review of cognition, emotion, and personality in Sus domesticus.
International Journal of Comparitive Psychology, 28The filename is the source number: 1.md, 2.md, 3.md, etc.
See Investigations — Annotations for how to reference these in chapter text.
Enum Reference
Animal Keys
Use these exact values in the animals array:
| Key | Dutch | English |
|---|---|---|
chicken-egg | Kip (eieren) | Chicken (eggs) |
chicken-meat | Kip (vlees) | Chicken (meat) |
cow | Rund | Cow |
deer | Hert | Deer |
mink | Nerts | Mink |
pig | Varken | Pig |
rabbit | Konijn | Rabbit |
turkey | Kalkoen | Turkey |
Welfare Brand Keys
Use these exact values for welfareBrandKey:
| Key | Label |
|---|---|
beter-leven-1 | Beter Leven 1 ster |
beter-leven-2 | Beter Leven 2 sterren |
beter-leven-3 | Beter Leven 3 sterren |
caring-farmers | Caring Farmers |
eko | EKO |
parkkonijn | Parkkonijn |
null | No welfare brand |
Country Codes
| Code | Country |
|---|---|
nl | Netherlands |
be | Belgium |
SEO Fields
These fields improve how the page appears in search engines and social media:
---
title: Page Title # Also used as og:title
description: Description # Also used as og:description and meta description
image:
src: /images/investigations/<slug>/hero.jpg # Also used as og:image
robots: index, follow # Controls search engine indexing
sitemap:
priority: 0.8 # 0.0 to 1.0 — how important is this page?
changefreq: monthly # How often does it change?
schemaOrg: # Structured data for rich search results
- "@type": "Article"
---TIP
For most content, you only need title, description, and image. The SEO fields (robots, sitemap, schemaOrg) are optional and already have sensible defaults.