post metadata information (title, etc)

Hierarchy

  • postMeta

Indexable

[key: string]: any

Properties

author?: string | postAuthor

Author metadata

categories?: string[]

Post categories

cover?: string

thumbnail

date?: string | dateMapper

Post published date

description?: string

post description

id?: string

Auto generated fixed id with uuid v4

lang?: string

Article language code

layout?: string

Custom layout (hexo)

permalink?: string

just pathname

photos?: string[]

All photos of post/page

published?: boolean | 0 | 1

published indicator

  • 1 / true = published
  • 0 / false = drafted
redirect?: string

Post moved indicator

  • canonical should be replaced to this url
  • indicate this post was moved to another url
tags?: string[]

Post tags

thumbnail?: string

thumbnail (unused when cover property is settled)

title: string

Article title

type?: "post" | "page" | "archive"

archive (index, tags, categories)

updated?: string | dateMapper

Post modified date

url?: string

full url

wordcount?: number

word count