docs: document supported frontmatter keys #120

Open
opened 2026-06-17 02:46:24 +00:00 by treadful · 1 comment
Owner

Document which keys are useful for the Markdown frontmatter.

Document which keys are useful for the Markdown frontmatter.
Author
Owner

Currently in use:

  • title (used in default template <title> tag)
  • lang (used in <html> tag)
  • description (used in default template metadata)
  • author (used in default template metadata)

See:

<html{% if lang %} lang="{{ lang|escape }}"{% endif %}>
<head>
<title>{{ title|escape }}</title>
<link rel="stylesheet" type="text/css" href="/static/default.css">{% if user_styles %}
<link rel="stylesheet" type="text/css" href="{{ user_styles }}">{% endif %}
<meta charset="utf-8" />
{% if author %}<meta name="author" content="{{ author|escape }}">{% endif %}
{% if description %}<meta name="description" content="{{ description|escape }}">{% endif %}

Currently in use: - `title` (used in default template `<title>` tag) - `lang` (used in `<html>` tag) - `description` (used in default template metadata) - `author` (used in default template metadata) See: https://source.treadful.dev/treadful/jot/src/commit/6816038df9a0c3e183b88572297e22ddcd792c9f/jot-server/templates/markdown_wrapper.html.j2#L2-L9
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
treadful/jot#120
No description provided.