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
└── [content folders] # websites/, audio/, 3d-printing/, equipment/, etc.
Remember 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 studio/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 (studio/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. When adding new pages:
top-nav.yml if it should appear in navdisabled: true for placeholder/coming-soon itemsfolder/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/