zhangbo b1192753ed Use goahead-3.6.5 replace goahead-5.1.0 5 gadi atpakaļ
..
LICENSE.md b1192753ed Use goahead-3.6.5 replace goahead-5.1.0 5 gadi atpakaļ
README.md b1192753ed Use goahead-3.6.5 replace goahead-5.1.0 5 gadi atpakaļ
expansive.es b1192753ed Use goahead-3.6.5 replace goahead-5.1.0 5 gadi atpakaļ
package.json b1192753ed Use goahead-3.6.5 replace goahead-5.1.0 5 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/