Skip to content

Frontmatter Template Variables

When you add custom frontmatter properties in plugin settings, you can use template variables.

Supported Variables

VariableDescriptionExample
{{platform}}Platform idx, facebook, youtube
{{author.name}}Author display nameJohn Doe
{{author.handle}}Author handle@johndoe
{{author.username}}Author usernamejohndoe
{{author.url}}Author profile URLhttps://x.com/johndoe
{{post.id}}Internal post id19384756
{{post.url}}Original post URLhttps://x.com/...
{{dates.published}}Published timestamp from frontmatter2026-02-12 09:30
{{dates.archived}}Archive timestamp from frontmatter2026-02-12 09:35
{{dates.lastModified}}Last modified timestamp from frontmatter2026-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.

Released under the MIT License.