Entry

Below is the list of properties which Blot generates for every entry. Their values are determined by the file’s contents and location.

Property Description
{{{html}}} The full HTML of the blog post.
{{title}} The blog post’s title.
{{{url}}} The path of the URL to the post. For example:
"/your-blog-post"
{{{absoluteURL}}} The full URL to the post. For example:
"https://example.com/your-blog-post"
{{date}} The blog post’s publish date, as a human-readable string
{{dateStamp}} The blog post’s publish date, as a unix timestamp.
{{path}} The file’s path, with the blog’s folder as root.
{{name}} The file’s name, preserving the case where possible.
{{size}} The file’s size in bytes.
{{created}} The file’s creation date, as a Unix timestamp.
{{updated}} The file’s last-modified date, as a Unix timestamp.
{{summary}} The text of the first paragraph of the entry.
{{{titleTag}}} If the post’s title was generated from a heading in the blog post, this property contains that heading’s HTML. For example:
"<h1>Your post's <em>nice</em> title</h1>"}}
{{{body}}} The HTML of the blog post, excluding the titleTag. This property is useful if you want to manipulate the HTML of the titles of your blog posts.
{{{teaser}}} The HTML of the title and the first few items in the entry. You can specify the end of the teaser by inserting the special tag more into your blog post's file. Everything before more will be included in the teaser.
{{{teaserBody}}} The HTML of the first few items in the entry, excluding the title. Equivalent to teaser without the titleTag.
{{more}} A boolean value indicating if the post’s teaser property is different to its html property. This is useful for determining whether or not to show 'read more' links.
{{slug}} The value of the metadata property permalink. Same as URL.
{{permalink}} The value of the metadata property permalink. Same as URL.
{{tags}} List of tags for the entry
{{menu}} true” if the entry is a page on the menu, false” if not
{{page}} true” if the entry is a page, false” if not
{{deleted}} true” if the entry is deleted, false” if not
{{draft}} true” if the entry is a draft, false” if not
{{scheduled}} true” if the entry is scheduled for future publication, false” if not
{{thumbnail}} object containing the thumbnails for the entry, if they exist.
{{metadata}} object containing the metadata for the entry, if they exist.
{{id}} Alias for the path property, which uniquely identifies the post.
{{guid}} Alpha numeric identifier
{{thumbnail}}
Thumbnails
Blot generates four sizes of thumbnails:
  • small which has a width and height under 160px.
  • medium the default, which has a width under 640px.
  • large which has a width and height under 1060px.
  • square which has a width and height of 160px.
Blot will not increase the size of smaller images. The JSON added to each entry looks something like this:
{
    ...
    thumbnail: {
        small: {url: "...", width: 160, height: 103},
        medium: {url: "...", width: 640, height: 411},
        large: {url: "...", width: 1060, height: 681},
        square: {url: "...", width: 160, height: 160 }
    },
    ...
}

You can use them in your template like this:

Input in your template Output on your blog
{{#formatDate}} MMMM DDDo, YYYY  {{/formatDate}}
January 1st, 2018
{{#formatDate}} MMMM DDDo, YYYY  {{/formatDate}}
January 1st, 2018