Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 568 Bytes

File metadata and controls

25 lines (17 loc) · 568 Bytes

typekit.com

Provides a tag for including a specific font <link> from TypeKit, and setting up the appropriate Content-Security-Policy.

Import

/🔌.yaml

- https://github.com/stacklane-registry/typekit.com.git#!v1.0.0

Tag Usage

Applies the correct Content-Security-Policy and includes the <link> for TypeKit.

Accepts a single id parameter. The id is the unique portion of the URL TypeKit provides, immediately before .css.

<head>
...
<typekit.com-css id="xyz123"/>
...
</head>