-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.ts
38 lines (32 loc) · 979 Bytes
/
main.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/// <reference no-default-lib="true" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />
/// <reference lib="dom.asynciterable" />
/// <reference lib="deno.ns" />
import { start } from "$fresh/server.ts";
import manifest from "./fresh.gen.ts";
import { ga4Plugin } from "https://deno.land/x/[email protected]/mod.ts";
// import { freshSEOPlugin } from "https://deno.land/x/fresh_seo/mod.ts";
// import {
// BlogOptions,
// blogPlugin,
// } from "https://deno.land/x/[email protected]/mod.ts";
import twindPlugin from "$fresh/plugins/twindv1.ts";
import twindConfig from "./twind.config.ts";
// const blogOptions: BlogOptions = {
// title: "Scott's Blog",
// rootPath: import.meta.url,
// postsPerPage: 10,
// navbarItems: {
// Archive: "/archive",
// About: "/about",
// },
// };
await start(manifest, {
plugins: [
twindPlugin(twindConfig),
ga4Plugin(),
// freshSEOPlugin(manifest),
// blogPlugin(blogOptions),
],
});