scribe.yaml Reference
Location
Section titled “Location”| Framework | Path |
|---|---|
| Hugo | data/scribe.yaml |
| Astro | src/data/scribe.yaml |
All fields
Section titled “All fields”# Requiredframework: hugo # 'hugo' or 'astro'categories: [] # list of strings — shown as dropdownauthors: [] # list of strings — shown as dropdownedit_zones: [] # list of zone objects
# Optionalshortcodes: [] # list of shortcode objects (Hugo only)Edit zone object
Section titled “Edit zone object”- path: content/posts # relative from repo root label: Blog posts # display name in sidebar type: markdown # 'markdown' or 'data'Shortcode object
Section titled “Shortcode object”- name: youtube # Hugo shortcode name label: YouTube Video # display name in dialog icon: player-play # Tabler Icons name (optional) fields: - name: id # field name in shortcode label: Video ID # display label type: string # currently only 'string' supported