amir.djaffars.com

← projects

template

Copy this file to start a project. It brings its own model and a green phosphor look.

This is the body of the template project, in markdown. The file's name is its slug and its URL: content/projects/template.md becomes /projects/template/. It's a draft, so it isn't listed, fed or indexed; the list shows it with ?drafts in the URL.

The front matter

  • date (YYYY-MM-DD) orders the lists, newest first; updated marks a meaningful change
  • summary is the line under its name, here and in search results
  • title is a longer title for search results, previews and feeds (default: the slug)
  • tags are the bracketed tags
  • cover is a picture for the list, relative to this file
  • links are shown beside the text
  • relief is the word carved in the header (default: the slug), or model names a drawing in content/models.js
  • href with no body makes the list link straight out
  • draft: true keeps it unlisted

Its look

The look tints the whole page, its row on the list and the relief above. Quote the colours: # starts a comment in YAML.

  • ink and bg are the two colours everything is drawn in
  • ramp is the glyphs for the carved face, dim to bright
  • walls is the glyphs for its side walls
  • light is where the key light comes from, as [x, y, z]
  • mark is the glyph in front of list items

Writing

Quotes, code, strong, emphasis, links and tables all work.

left right
a b
const relief = 'orbit';

An image alone on its line becomes a figure, its title the caption:

Engine UI layer
A caption