Metadata

All the metadata for each blog post is generated automatically from the file’s contents and location. This metadata includes the blog post’s URL, title and publish date.

You can override some or all of this metadata. Your metadata must begin on the file’s first line and must be separated from the rest of the post by at least one blank line.


 Post.txt 
Date: December 13th, 2018
Permalink: /metadata

You must leave a space after the colon between the metadata property (e.g. Date) and its value.




Below is the full list of metadata which you can override at the start of a file. The properties are case-insensitive.

TitleDefaults to the text of the first heading in the blog post or the file’s name.
DateDefaults to the file’s creation date. Specify a different date in the file’s metadata with one of the supported formats, or use the file’s path.
PermalinkDefaults to a URL-friendly version of the post’s title. Specify a different permalink in the file’s metadata, or adjust the default permalink format.
SummaryDefaults to the text of the first sentence of the first paragraph in the file.
TeaserDefaults to the first few paragraphs of the blog post. You can specify a teaser in the file’s metadata or insert the breakpoint yourself.
TagsYou can tag a blog post in the file’s metadata or using the file’s path.
ThumbnailDefaults to the largest image in the blog post. You can specify a URL, or a path to an image in your blog’s folder.
DraftDetermines whether a file becomes a draft. Can be ’Yes’ or ’No’. Defaults to ’No’ unless the file is inside a folder called ’Drafts’.
PageDetermines whether a file becomes a page or a blog post. Can be ’Yes’ or ’No’. Defaults to ’No’ unless the file is inside a folder called ’Pages’.
MenuDetermines whether a file appears on your blog’s menu. Can be ’Yes’ or ’No’. Defaults to ’Yes’ for pages and ’No’ for blog posts.

You can also define your own metadata. Blot uses this metadata to determine the properties of each post.