Packs: jobs, payment-links, podcast, recipes, related-posts, table-of-contents. Engine, for what packs can't carry: - pageData: schema.org objects for what packs put on a page (FAQPage from faq sections, LocalBusiness from location, Person, Recipe and JobPosting by layout). The starter's partials/schema.html writes them; older sites can add the same two lines. - feed_format: podcast: RSS with the iTunes fields, each episode's audio as an enclosure with its real size (podcast_category, podcast_email, podcast_explicit). - closed: whether a date (a job's closes:) is over in the site's time zone. Closed openings leave lists and aren't advertised to search engines. - related: pages in the same collection sharing the most tags. - headings: a rendered page's h2 and h3 headings, for a table of contents. - formatDate takes a date YAML already parsed (closes: 2026-11-15). The bundled-packs test covers all seventeen, including the structured data, a closed job, the podcast feed, related posts and the table of contents.
32 lines
1012 B
YAML
32 lines
1012 B
YAML
name: podcast
|
|
version: 1.0.0
|
|
title: Podcast
|
|
description: Episodes with a player on each page, a page listing them, and the feed podcast apps subscribe to.
|
|
license: MIT
|
|
author: Coffey Labs LLC
|
|
collections:
|
|
episodes:
|
|
layout: episode
|
|
list_layout: episode-list
|
|
feed: true
|
|
feed_format: podcast
|
|
notes: |
|
|
Name the show in site.yaml, under collections: episodes: (feed_title,
|
|
feed_description, feed_image: a square picture of 1400 to 3000 pixels in
|
|
static/, podcast_category such as Arts or Business, podcast_email).
|
|
|
|
Put each episode's audio in static/, and add it as content/episodes/<name>.md:
|
|
|
|
---
|
|
title: "1: Why we bake at 4am"
|
|
date: 2026-10-01
|
|
summary: Sam on starters, ovens and early mornings.
|
|
audio: /media/episodes/001.mp3
|
|
duration: "34:12"
|
|
episode: 1
|
|
---
|
|
Show notes, in Markdown. A transcript helps people who can't listen.
|
|
|
|
/episodes/ lists them with a player, and /episodes/feed.xml is the feed to
|
|
give Apple Podcasts, Spotify and the rest.
|