@nymdev/clay-meta-url
v0.0.9
Published
Canonical url and og:url tags
Downloads
15
Readme
clay-meta-url
Canonical url and og:url tags
Install
npm install --save @nymdev/clay-meta-url
Adds <link rel="canonical">
and og:url
tags to the head.
Usage
Once you install it, it will be automatically recognized by amphora
. It has a single property, url
, which should be the full canonical url for a page.
A Note On Head Components
This component lives in the head of the page, and isn't editable directly. Use the componentRef
behavior to affect it when you edit other components on the page.