Each blog post’s permalink, title and publish date is generated automatically. You can override some or all of this metadata on the ﬁle’s ﬁrst line.
Date: September 26th, 2020 Permalink: /metadata You must leave a space after the colon between the metadata property (e.g. Date) and its value. Metadata must be separated from the rest of the post by at least one blank line.
A blog post’s publish date is the same as the ﬁle’s creation date by default. You can specify a different date in the ﬁle’s path or in its metadata:
Date: September 26th, 2020 Blot supports a variety of date formats. These all produce a post with the same date: 09/26/2020 September 26, 2020 9.26.2020 2020-09-26 00:00 You can use underscores, dashes, slashes and dots to separate the numbers in the date.
You can specify a post’s publish date in its path. For example, all four of these posts share the same publish date:
Please note that a date speciﬁed inside a ﬁle overrides a date speciﬁed in its path. If you specify a date in the future, your post will be published then.
Use tags to connect posts by similar subject. Specify tags in the ﬁle’s metadata or in its path. Here’s an example blog post with two tags in its metadata:
Tags: Getting started, Documentation Tags are case-insensitive and may contain whitespace. Blot picks the case you used last when displaying the tag on your blog.
|Title||Defaults to the text of the ﬁrst heading in the blog post or the ﬁle’s name.|
|Date||Defaults to the ﬁle’s creation date. Specify a different date in the ﬁle’s metadata with one of the supported formats. You can also change a post’s publish date using the ﬁle’s path.|
|Permalink||Defaults to a URL-friendly version of the post’s title. Specify a different permalink in the ﬁle’s metadata, or adjust the default permalink format.|
|Summary||Defaults to the text of the ﬁrst sentence of the ﬁrst paragraph in the ﬁle.|
|Teaser||Defaults to the ﬁrst few paragraphs of the blog post. You can specify a teaser in the ﬁle’s metadata or insert the breakpoint |
|Tags||You can tag a blog post in the ﬁle’s metadata or using the ﬁle’s path.|
|Thumbnail||Defaults to the largest image in the blog post. You can specify a URL, or a path to an image in your blog’s folder.|
|Draft||Determines whether a ﬁle becomes a draft. Can be ’Yes’ or ’No’. Defaults to ’No’ unless the ﬁle is inside a folder called ’Drafts’.|
|Page||Determines whether a ﬁle becomes a page or a blog post. Can be ’Yes’ or ’No’. Defaults to ’No’ unless the ﬁle is inside a folder called ’Pages’.|
|Menu||Determines whether a ﬁle appears on your blog’s menu. Can be ’Yes’ or ’No’. Defaults to ’Yes’ for pages and ’No’ for blog posts.|
You can also deﬁne your own metadata for use in your template.
You can use a comment at the start of an HTML ﬁle to specify metadata.
<!-- Date: September 26th, 2020 Permalink: /metadata --> The comment containing metadata in an HTML file <b>must</b> start on the file's first line.