Taki
Taki waterfall renderer and dynamic head helpers for EmDash, Astro, and Cloudflare sites.
Plugin
Taki
Taki waterfall renderer and dynamic head helpers for EmDash, Astro, and Cloudflare sites.
Taki waterfall renderer and dynamic head helpers for EmDash, Astro, and Cloudflare sites.
Installation
Install the package from npm:
npm install @bnomei/emdash-taki
Register the plugin in your Astro config:
import emdash from "emdash/astro";
import takiPlugin, * as taki from "@bnomei/emdash-taki";
const rules = [
taki.meta("theme-color", "#101820"),
taki.meta("description", "Default description"),
taki.property("og:title", "Example"),
taki.deferScript("/scripts/app.js"),
taki.icon("/favicon.svg", { type: "image/svg+xml" }),
];
export default {
integrations: [
emdash({
plugins: [
takiPlugin({
runtime: "./src/emdash-taki-runtime.ts",
capabilities: ["content:read"],
rules,
}),
],
}),
],
};
Details
- Latest version: 0.2.0
- License: MIT
- Publisher: Bruno Meilick
- Requires: EmDash
^1.2.0 - Source repository: https://github.com/bnomei/emdash-taki
- npm package: @bnomei/emdash-taki