MarkDownBlogPostObject

This entity defines a single blog post.

To be used with MarkDownBlogManager

package

Default

Methods

Properties

The post date in a yyyy-mm-dd format

date : 

Type(s)

The post language in a 2 digit format

language : 

Type(s)

The keywords part of the filesystem path that defines the post.

keywords : 
example

property will contain the string "some-key-words-are-placed-here" for a blog post that is saved on file system with the following path: BLOGROOT/2018/10/25/en-some-key-words-are-placed-here

Type(s)

The keywords part of the filesystem path that defines the post, but formatted as an array where each keyword is an array element

keywordsAsArray : 
see

Type(s)

The post title but optimized to fit on a website html metadata title. This may contain the same text as the blog title if has a valid length for metadata title purposes, or a smaller version if the blog post title is too long.

metaTitle : 

Basically you should use this property when setting the metadata title field on a website html page that loads a blog post.

see

Type(s)

An autogenerated description text that can be used as the html description metadata on a website html page that loads a blog post.

metaDescription : 

Type(s)

The post title. It is detected from the first H1 element found on the text string

title : 

Type(s)

The full post text as a markdown formatted string (including the post title)

text : 

Type(s)

The full post text but formatted with HTML tags instead of the original markdown

textAsHtml : 

Type(s)