Config

Mr.Hope ... 2021-2-28 Less than 1 minute

# Plugin Options

# hostname

  • Type: string
  • Required: No

Deploy hostname.

# author

  • Type: string
  • Required: No

Default author.

# autoDescription

  • Type: boolean
  • Default: true

Whether generate description automatically

# fallBackImage

  • Type: string
  • Required: No

Fallback Image link when no image are found

# restrictions

  • Type: string
  • Required: No

The age rating of the content, the format is [int]+, such as "13+".

# twitterID

  • Type: string
  • Required: No

Fill in your twitter username.

# isArticle

  • Type: (page: Page) => boolean
  • Required: No

Use this option to judge whether the page is an article.

# seo

  • Type:

    function seo(
      seo: SeoContent,
      page: Page,
      context: Context
    ) => SeoContent;
    
    1
    2
    3
    4
    5
  • Required: No

Custom SEO Generator.

You can use this options to edit SEO tags.

# customMeta

  • Type:

    function customHead(
      meta: Meta,
      page: Page,
      context: Context
    ) => void
    
    1
    2
    3
    4
    5
  • Required: No

You can use this options to edit meta tags injected to <head>.

Last update: June 2, 2022 17:31
Contributors: Mr.Hope , Mr.Hope