Files
jcoffey-dev 23e6ea4e44
ci / editor-ui (pull_request) Successful in 1m19s
ci / go (pull_request) Successful in 1m20s
Six more packs, search-engine data, podcast feeds
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.
2026-10-11 17:23:44 -07:00

15 lines
1.1 KiB
CSS

/* The payment links pack. Colors come from the theme's variables. */
.buy-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.buy-item { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.buy-item h3 { margin: 4px 0 0; }
.buy-picture { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 4px); }
.buy-price { margin: 0; font-size: 1.3rem; font-weight: 750; }
.buy-desc { margin: 0; color: var(--muted); }
.buy-button { margin-top: auto; text-align: center; }
.buy-note { margin-top: 20px; color: var(--muted); }
.buy-secure { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.donate-box { text-align: center; padding: 32px 24px; border-radius: var(--radius); background: var(--accent-soft); }
.donate-box h2 { margin-top: 0; }
.donate-text { max-width: 60ch; margin: 0 auto 18px; }
.donate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }