zhangbo f5c9921491 Add Chassis Indentify há 4 anos atrás
..
LICENSE.md f5c9921491 Add Chassis Indentify há 4 anos atrás
README.md f5c9921491 Add Chassis Indentify há 4 anos atrás
expansive.es f5c9921491 Add Chassis Indentify há 4 anos atrás
package.json f5c9921491 Add Chassis Indentify há 4 anos atrás

README.md

exp-canon

Expansive plugin to canonicalize index pages.

Provides the 'canon' service which creates canonical links for index pages to assist search engines by defining the "canonical" preferred link for an index page.

<link href="//" rel="canonical">

To install:

pak install exp-canon

To configure in expansive.json:

  • canon.enable — Enable the html service to post-process HTML files.

    {
    services: {
        'canon': {
            enable: true,
        }
    }
    }
    

Get Pak from

https://embedthis.com/pak/