zhangbo f5c9921491 Add Chassis Indentify 4 years ago
..
LICENSE.md f5c9921491 Add Chassis Indentify 4 years ago
README.md f5c9921491 Add Chassis Indentify 4 years ago
expansive.es f5c9921491 Add Chassis Indentify 4 years ago
package.json f5c9921491 Add Chassis Indentify 4 years ago

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/