Skip to content

Commit

Permalink
fix: restore comment functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
deer committed Jan 30, 2024
1 parent 6df05bb commit cc6b09b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"imports": {
"$fresh/": "https://deno.land/x/fresh@1.6.3/",
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"preact-render-to-string": "https://esm.sh/*[email protected]",
Expand All @@ -19,9 +19,8 @@
"tailwindcss/": "npm:/[email protected]/",
"tailwindcss/plugin": "npm:/[email protected]/plugin.js",
"@/": "./",
"./": "./",
"$std/": "https://deno.land/[email protected]/",
"fresh_blog/": "https://deno.land/x/fresh_blog@0.0.6/",
"fresh_blog/": "https://raw.githubusercontent.com/deer/fresh_blog/34bb68ce53dad27d2faf982ef1762c86ad59bc12/",
"fresh_ga4/": "https://deno.land/x/[email protected]/"
},
"lint": { "rules": { "tags": ["fresh", "recommended"] } },
Expand Down
9 changes: 5 additions & 4 deletions fresh.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { defineConfig } from "$fresh/server.ts";
import tailwind from "$fresh/plugins/tailwind.ts";

import {
BlogOptions,
blogPlugin,
} from "fresh_blog/mod.ts";
import { BlogOptions, blogPlugin } from "fresh_blog/mod.ts";

import { ga4Plugin } from "fresh_ga4/mod.ts";

Expand All @@ -17,6 +14,10 @@ const blogOptions: BlogOptions = {
Contact: "/contact",
Projects: "/projects",
},
comments: {
source: "disqus",
shortname: "reedvr",
},
};

export default defineConfig({
Expand Down

0 comments on commit cc6b09b

Please sign in to comment.