FAQ / Skeletons (Advanced)

By combining file inclusion and placeholders you can get a basic yet powerful form of templating we’ll call “skeletons” (to avoid confusion with _template.md).

First create your skeleton. These are raw Markdown and it’s important they don’t have metadata. In file artwork.md:

# {{ title }} ({{ prettydate }})
### {{ medium }}

[![{{ title }}]({{ image }})]({{ image }})

Then in file tristique.md

---
layout: one-column center
title: Tristique
date: 2026-01-20
medium: >
    Oil on canvas
image: /images/tristique_large.jpg
---

{{ > artwork }}

This will create the page tristique, inserting the content of the file artwork.md, and populating it with the metadata of tristique.md. This is effectively the same as writing:

---
layout: one-column center
title: Tristique
date: 2026-01-20
---

# Tristique (2026)
### Oil on canvas

[![Tristique](/images/tristique_large.jpg)](/images/tristique_large.jpg)

The advantage of this is you can easily add multiple works, all in the same format, and you can go back and change the format of all pages at once by changing the skeleton file artwork.md.

← Previous | Source | Next →