zhangbo f5c9921491 Add Chassis Indentify 4 роки тому
..
LICENSE.md f5c9921491 Add Chassis Indentify 4 роки тому
README.md f5c9921491 Add Chassis Indentify 4 роки тому
expansive.es f5c9921491 Add Chassis Indentify 4 роки тому
package.json f5c9921491 Add Chassis Indentify 4 роки тому

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/