UNPKG

@frontity/head-tags

Version:

Integrate your Frontity site with REST API - Head Tags by Frontity

19 lines (16 loc) 462 B
import HeadTagsPackage from "../types"; import Component from "./components"; import { getHeadTags } from "./utils"; const headTags: HeadTagsPackage = { name: "@frontity/head-tags", roots: { headTags: Component }, state: { headTags: { get: ({ state }) => (link) => getHeadTags({ state, link }), transformLinks: { ignore: "^(wp-(json|admin|content|includes))|feed|comments|xmlrpc", }, }, }, }; export default headTags;