mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-20 21:20:19 -05:00
Add shared/config/footer-common.yml (mirrors navbar-common.yml) and point slides, labs, kits, and instructors at it via metadata-files, replacing their drifted inline footers. The release pill now lives in the footer right slot (not dangling below the page) as a fixed muted-gray chip, pinned so it looks identical regardless of each site's theme accent. mlsysim and the book keep their own footers (dual license / build stamp) but carry the same pill span. release-pill.html is now assets-only and populates every data-release-pill span from each site's own release-manifest.
36 lines
1.7 KiB
YAML
36 lines
1.7 KiB
YAML
# =============================================================================
|
|
# SHARED FOOTER CONFIGURATION
|
|
# =============================================================================
|
|
# Single source of truth for the page footer across the MLSysBook companion
|
|
# HTML sites (slides, labs, kits, instructors). Included via metadata-files,
|
|
# the same way navbar-common.yml standardizes the navbar.
|
|
#
|
|
# Version pill: the right slot carries <span data-release-pill>, populated at
|
|
# runtime by shared/release/release-pill.html (loaded site-wide). It reads each
|
|
# site's own <meta name="release-manifest" content="/<site>/release-manifest.json">
|
|
# from that site's format block — so this one shared footer shows each site its
|
|
# OWN version (slides → /slides/..., labs → /labs/..., etc.).
|
|
#
|
|
# Sites with a genuinely different footer (mlsysim's dual code+docs license, the
|
|
# book's build stamp + inter-volume nav) keep their own page-footer but use the
|
|
# same release-pill span for consistency.
|
|
# =============================================================================
|
|
|
|
website:
|
|
page-footer:
|
|
left: |
|
|
© 2024-2026 Harvard University. Licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC-BY-NC-SA 4.0</a>
|
|
center: |
|
|
Part of the <a href="https://mlsysbook.ai">Machine Learning Systems</a> ecosystem
|
|
right:
|
|
- text: |
|
|
<span class="release-pill" data-release-pill></span>
|
|
- icon: github
|
|
href: https://github.com/harvard-edge/cs249r_book
|
|
aria-label: "View source on GitHub"
|
|
- icon: star
|
|
href: https://github.com/harvard-edge/cs249r_book
|
|
aria-label: "Star this repository"
|
|
background: light
|
|
border: true
|