Frontmatter Template Variables
When you add custom frontmatter properties in plugin settings, you can use template variables.
Supported Variables
| Variable | Description | Example |
|---|---|---|
{{platform}} | Platform id | x, facebook, youtube |
{{author.name}} | Author display name | John Doe |
{{author.handle}} | Author handle | @johndoe |
{{author.username}} | Author username | johndoe |
{{author.url}} | Author profile URL | https://x.com/johndoe |
{{post.id}} | Internal post id | 19384756 |
{{post.url}} | Original post URL | https://x.com/... |
{{dates.published}} | Published timestamp from frontmatter | 2026-02-12 09:30 |
{{dates.archived}} | Archive timestamp from frontmatter | 2026-02-12 09:35 |
{{dates.lastModified}} | Last modified timestamp from frontmatter | 2026-02-12 09:35 |
Property Type Behavior
Text / Number
- Uses the value input directly.
- Template variables are supported.
- Number values are converted to numeric type when possible.
Checkbox
- If template override is empty: uses checkbox value.
- If template override is not empty: template result is used instead.
Date / Date & Time
- If template override is empty: uses picker value.
- If template override is not empty: template result is used instead.
List
- Enter one item per line.
- Each line supports template variables.
- Stored as YAML array.
Notes
- Core keys cannot be overridden:
platform,author,authorUrl,published,archived,lastModified,tags. - Format syntax like
{{date:YYYY}}is not supported.