Artwork Section

Displays a single artwork with its image, an optional title/subtitle header, and a structured property list (type, year, materials, dimensions, status). Designed for art catalog pages. The component supports bilingual output — when the page-level lang variable is de, labels switch to German and inch dimensions are automatically converted to centimetres.

Object 2026.03.005

Assemblage

Example artwork image

Wire mesh, wood panel, ash, urethane, shredded paper

Type
Assemblage
Year
2026
Materials
Wire mesh, wood panel, ash, urethane, shredded paper
Dimensions
9w × 24h × 1d  in
Status
Available

Configuration

- sectionType: artwork
  containerTag: section
  text:                         # optional — omit to suppress the header
    leadIn: ''
    title: 'Object 2026.03.005'
    titleTag: 'h2'
    subTitle: 'Assemblage'
  image:                        # required
    src: '/assets/images/artwork.jpg'
    alt: 'Description for accessibility'
    caption: ''
  artworkProperties:            # optional — omit to suppress the property list
    type: 'Assemblage'
    year: 2026
    materials: 'Wire mesh, wood panel, ash, urethane, shredded paper'
    status: 'available'         # only 'available' renders the status row
    dimensions:
      width: 9
      height: 24
      depth: 1                  # optional
      unit: 'in'

Configuration Options

Image (required)

PropertyTypeRequiredDescription
image.srcstringYesPath to the artwork image
image.altstringYesAlternative text for accessibility
image.captionstringNoOptional caption displayed below the image

Text Header (optional)

PropertyTypeRequiredDescription
text.titlestringNoArtwork title
text.titleTagstringNoHTML tag for the title (h1h6)
text.subTitlestringNoSubtitle or medium label

Artwork Properties (optional)

PropertyTypeDescription
artworkProperties.typestringMedium or artwork type
artworkProperties.yearnumberYear of creation
artworkProperties.materialsstringMaterials used
artworkProperties.dimensionsobjectwidth, height, depth (numbers), unit (string)
artworkProperties.statusstringOnly available renders the status row; other values omit it

Bilingual Behaviour

When the page-level lang variable is de, property labels switch to German and inch dimensions are multiplied by 2.54 and displayed in centimetres. In a standard Metalsmith build where lang is not set, English labels are always used.