Amaranth is UNM’s Digital Humanities Studio emphasizing public humanities scholarship, student/faculty research support, and community engagement. The website serves as both a resource hub and promotional site for the studio’s services.
Primary maintainers: Fred Gibbs (director) + graduate student studio manager
Target audiences:
bundle exec jekyll serve
Then visit http://localhost:4000
├── _config.yml # Site configuration
├── _data/ # Data files (YAML)
│ ├── events.yml # Events listing
│ ├── team.yml # Team member info
│ └── top-nav.yml # Navigation structure
├── _includes/ # Reusable components
├── _layouts/ # Page templates (base.html)
├── assets/images/ # All images, organized by type
│ ├── headers/ # Page header/hero images (2000px max)
│ ├── events/ # Event images (1600px max)
│ ├── posters/ # Poster images (1600px max)
│ ├── projects/ # Project images (1600px max)
│ ├── site/ # General site assets (1600px max)
│ └── team/ # Team photos (1200px max)
├── scripts/ # Utility scripts
│ ├── README.md # shared with Xanthan — don't edit
│ ├── optimize-images.sh # shared with Xanthan — don't edit
│ └── update-image-refs.sh # shared with Xanthan — don't edit
├── about/ # "About" menu: studio pages, equipment/, name-origins/
├── ai/ # "AI" menu
├── public-scholarship/ # "Public Scholarship" menu: websites, posters, audio guides
├── 3d-pedagogy/ # "3D Pedagogy" menu: index is Tactile Learning; printing/, objex/
└── collaborate.md # top-level pages that sit outside the menus
The first paragraph of body text on every page (immediately after the frontmatter, before any ## heading) must use lead styling and be exactly one paragraph:
This is the opening paragraph that sets up the page.
{: .lead}
{: .lead} — always the first one, never a later one{: .lead} to a paragraph that follows a ## headingRemember readers may be:
class-projects.md, oral-histories.mdposter-printer.jpg, vr-headsets.jpgassets/images/[type]/ folderStandard page front matter:
---
title: Page Title
layout: base
date: YYYY-MM-DD
header-image: /assets/images/headers/image-name.jpg
header-height: 60vh # optional, defaults vary
---
assets/images/[type]/ folderThe image scripts and the Optimize Images workflow are shared, unmodified, with
Xanthan and its sites; scripts/README.md documents them. Don’t edit them here —
copy newer versions from xanthan-web. What’s specific to Amaranth is the sizes:
assets/images/headers at 2000), run
once unticked to preview, then again with Actually change the files ticked.
The job limits the longest edge, so a tall image comes out smaller than the
width-based commands below would make it; use those for portrait images.--preview first to see what would change.
bash scripts/optimize-images.sh --no-backup --folder headers --width 2000
bash scripts/optimize-images.sh --no-backup --recursive --base-dir about/name-origins --width 2000
bash scripts/optimize-images.sh --no-backup --folder team --width 1200
# everything else at the default 1600 — name the folders you've added images to
bash scripts/optimize-images.sh --no-backup --recursive --base-dir craft --base-dir projects
bash scripts/update-image-refs.sh # once at the end, if any PNGs became JPGs
Don’t run it with no options or --base-dir . — that would shrink the 2000px
images to 1600px.
| Type | Max Width | Use Case |
|——|———–|———-|
| headers | 2000px | Page heroes |
| ScrollStory backgrounds (about/name-origins/images) | 2000px | Full-screen scrollybox/bg images |
| events/posters/projects/services/site | 1600px | General content |
| team | 1200px | Portraits |
Navigation is defined in _data/top-nav.yml. Each top-level menu has one folder, and a page lives in the folder of the menu it appears under, so the URL matches the menu (About > Future Directions is about/future-directions.md at /about/future-directions). Pages that aren’t in a menu go in the folder of the section they belong to.
When adding new pages:
top-nav.yml if it should appear in navdisabled: true for placeholder/coming-soon itemsWhen moving or renaming a page, keep its old URL working: git mv the page together with its images/ folder, update links to it, and add the old URL to its front matter as redirect_from: /old/path (the jekyll-redirect-from plugin builds the redirect).
Don’t create top-level folders that share a name with another amaranth-unm repo published under amaranth.unm.edu, such as ai-sketchbook/, reliable-ai/, or campus-history/. Those URLs belong to the separate sites.
folder/page-name.md with proper front matter_data/top-nav.yml if neededassets/images/headers/ if using oneEdit _data/team.yml and add photo to assets/images/team/
Edit _data/events.yml and add image to assets/images/events/