Complete Frontmatter Block
Default usage (icons served from /scienceicons):
Authors
Individual Components
Authors Component
Affiliations Component
License Badges
Downloads Dropdown
Launch Button
Usage
These components are designed to work with MyST frontmatter data loaded via Astro collections:
---
import FrontmatterBlock from '../components/frontmatter/FrontmatterBlock.astro';
// In your [...slug].astro page
const pageData = await getPage(Astro.params.slug);
---
<FrontmatterBlock frontmatter={pageData.data.frontmatter} /> Available Components:
- FrontmatterBlock - Main orchestrating component
- Authors - Display authors with ORCID/email links
- Affiliations - Display institutional affiliations with ROR links
- LicenseBadges - Display Creative Commons and other license badges
- DownloadsDropdown - Download options for various formats
- LaunchButton - Launch buttons for Jupyter/Binder environments