Support "frontmatter" #4

Closed
opened 2026-05-20 10:43:02 +02:00 by c.fahner · 1 comment
Owner

A common way to embed information into markdown files is by use of so-called "frontmatter," which is essentially a YAML prefix that looks roughly like this:

---
title: "Custom title"
description: "Description"
draft: true
date: 2026-01-01T12:00:00Z
tags: [ "tag1", "tag2" ]
---

Rest of the content goes here.

If a section like this is present, it should be parsed and its information embedded into the meta section where supported.

A common way to embed information into markdown files is by use of so-called "frontmatter," which is essentially a YAML prefix that looks roughly like this: ```md --- title: "Custom title" description: "Description" draft: true date: 2026-01-01T12:00:00Z tags: [ "tag1", "tag2" ] --- Rest of the content goes here. ``` If a section like this is present, it should be parsed and its information embedded into the `meta` section where supported.
c.fahner added this to the v0.3 milestone 2026-05-20 10:43:02 +02:00
c.fahner added spent time 2026-06-11 07:00:46 +02:00
10 minutes
c.fahner added spent time 2026-06-11 18:50:44 +02:00
40 minutes
c.fahner added spent time 2026-06-11 19:17:25 +02:00
20 minutes
c.fahner added spent time 2026-06-12 20:39:13 +02:00
2 hours 50 minutes
c.fahner stopped working 2026-06-13 08:50:07 +02:00
1 hour 1 minute
c.fahner added spent time 2026-06-13 16:49:37 +02:00
55 minutes
c.fahner stopped working 2026-06-15 09:04:54 +02:00
1 hour 2 minutes
Author
Owner

Putting these properties in the HTML metadata will be done in #6.

Putting these properties in the HTML metadata will be done in #6.
c.fahner stopped working 2026-06-15 12:11:44 +02:00
12 minutes 40 seconds
c.fahner added spent time 2026-06-18 18:21:41 +02:00
45 minutes
c.fahner referenced this issue from a commit 2026-06-18 18:34:18 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 7 hours 56 minutes
c.fahner
7 hours 56 minutes
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
Reference
slendium/slendium-static#4
No description provided.