Using theme layouts

Wax five layouts for you to use and/or expand on: wax/default.html, wax/page.html, wax/exhibit.html, wax/collection_item.html, and wax/reuse_page.html. (See the on Github.)

You can tell a page to use a layout by adding it to the page’s front-matter, for example:

. _exhibits/my-exhibit.md

---
title: 'My Exhibit'
layout: wax/exhibit
---

Or you can make your own layout file that inherits from a Wax layout, for example the qatar_item.html layout which inherits from wax/collection_item:

. _layouts/qatar_item.html

---
layout: wax/collection_item
image_viewer: 'leaflet'
pagination: true
meta:
  - label: 'Object Label'
    value: page.label
  - label: 'Artist'
    value: page.artist
  - label: 'Object Type'
    value: page.object_type
  - label: 'Location'
    value: page.location
  - label: 'Current Location'
    value: page.current_location
  - label: 'Date'
    value: page.\_date
  - label: 'Source'
    value: page.source
---