Skip to content

IOriens/vuepress-plugin-canonical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuepress-plugin-canonical

canonical plugin for vuepress

Add <link rel='canonical' ...> to your vuepress site.

Install

npm i vuepress-plugin-canonical -D

Usage

Read How to use vuepress Plugin first, modify your .vuepress/config.js.

module.exports = {
  plugins: [
    [
      'vuepress-plugin-canonical',
      {
        baseURL: 'https://mina.wiki', // base url for your canonical link, optional, default: ''
        stripExtension: true // strip '.html' , optional, default: false
      }
    ]
  ]
}

Refrences

About

Add <link rel='canonical' ...> to your vuepress site.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published