Skip to content

About

Content for kevinhealyclarke.co.uk, kept separate from presentation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kevinhealyclarke.co.uk content

A separate repo for my site's content. I'm going with a single source of truth approach, separating presentation from content. kevinhealyclarke.co.uk uses this and in theory I could use it for other services too.

Structure

posts/<slug>/index.md              blog posts
notes/<yyyy-mm-dd>-<hhmm>/index.md  notes
work/<slug>/index.md               case studies
pages/<page>/index.md              home, work, cv and colophon
me/*.yml                           site details, now updates, roles, skills and open source I support
media/                             anything not tied to one entry, videos in media/video

Images live in the same folder as the entry that uses them.

Frontmatter

title: Redesigning the Rocinante's helm         # posts, work
summary: A cockpit Alex Kamal can fly blind.     # posts, work
date: 2350-03-14T09:30:00+00:00                  # posts, notes (notes need the time)
updated:                                         # posts, optional
  - 2350-04-02
tags:                                            # posts, work
  - interface design
worked_for: Tachi Shipyards                      # work, optional
client: Martian Congressional Republic Navy      # work, optional
project_length: 8 months                         # work
end_date: 2350-01-01                             # work
team_credits:                                    # work
  - role: Captain
    person: James Holden
  - role: Engineering
    person: Naomi Nagata
cover:                                           # work
  path: ./rocinante-cover.jpg
  alt: The Rocinante's flight deck, lit by the main display.
metadata:                                        # work, optional
  description: Rebuilding a gunship's controls for a crew of four.
draft: true                                      # all, optional, keeps it off the live site

Markdown

Plain Markdown, plus a few things the site does with it.

Images and captions

Images on a line of their own always become a figure. The markdown title becomes the caption which can also hold links if needed. If you don't want a caption, leave the title off.

![Tycho Station's construction ring against Saturn.](./tycho-station.jpg "The Nauvoo under construction, via [Fred Johnson](https://example.com).")

Video

I write up videos as HTML. They always live in /media/video, typically as an MP4 and WebM pair and usually wrapped in a figure if a semantic caption is needed.

<figure>
  <video controls>
    <source src="/media/video/razorback-flyby.mp4" type="video/mp4">
    <source src="/media/video/razorback-flyby.webm" type="video/webm">
  </video>
  <figcaption>Julie Mao's Razorback on its final approach to Ceres.</figcaption>
</figure>

YouTube

Used sparingly, if I'm linking to YouTube I use a standard /embed/ link.

Code

Fenced code blocks with a language get syntax highlighting:

```css
a:hover { font-variation-settings: 'GRAD' 88; }
```

Drafts

I keep my drafts in this repo too. Any post, note or work entry with draft: true in its frontmatter is considered a draft and not published to the site.

About

Content for kevinhealyclarke.co.uk, kept separate from presentation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors