import { default } from "https://deno.land/x/blog@0.2.0/blog.tsx";
The main function of the library.
import blog from "https://deno.land/x/blog/blog.tsx";
blog();
Configure it:
import blog, { ga } from "https://deno.land/x/blog/blog.tsx";
blog({
title: "My blog title",
subtitle: "Subtitle",
header:
`A header that will be visible on the index page. You can use *Markdown* here.`,
middlewares: [
ga("GA-ANALYTICS-KEY"),
],
});