zhangbo f5c9921491 Add Chassis Indentify 4 gadi atpakaļ
..
LICENSE.md f5c9921491 Add Chassis Indentify 4 gadi atpakaļ
README.md f5c9921491 Add Chassis Indentify 4 gadi atpakaļ
expansive.es f5c9921491 Add Chassis Indentify 4 gadi atpakaļ
package.json f5c9921491 Add Chassis Indentify 4 gadi atpakaļ

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/