Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldesigndj committed Jul 23, 2023
1 parent bad4d24 commit d88de44
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 27 deletions.
21 changes: 20 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,32 @@
"reload": "deno run -A --watch=static/,routes/ --reload dev.ts",
"run": "DENO_DEPLOYMENT_ID=$(git rev-parse --short HEAD) deno run -A main.ts"
},
"importMap": "./import_map.json",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"fmt": {
"semiColons": false
},
"imports": {
"@/": "./",
"$fresh/": "https://deno.land/x/[email protected]/",
"$std/": "https://deno.land/[email protected]/",
"$icons/": "https://deno.land/x/[email protected]/tsx/",
"fresh_seo": "https://deno.land/x/[email protected]/mod.ts",
"fresh_marionette": "https://deno.land/x/[email protected]/mod.js",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"preact-render-to-string": "https://esm.sh/*[email protected]",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"twind": "https://esm.sh/[email protected]",
"twind/": "https://esm.sh/[email protected]/",
"envalid": "https://deno.land/x/[email protected]/mod.ts",
"redis": "https://deno.land/x/[email protected]/mod.ts",
"gfm": "https://deno.land/x/[email protected]/mod.ts",
"feed": "https://esm.sh/[email protected]",
"qs": "https://esm.sh/[email protected]"
},
"lock": false
}
2 changes: 0 additions & 2 deletions fresh.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.

import config from "./deno.json" assert { type: "json" }
import * as $0 from "./routes/_404.jsx"
import * as $1 from "./routes/_500.jsx"
import * as $2 from "./routes/_middleware.js"
Expand Down Expand Up @@ -86,7 +85,6 @@ const manifest = {
"./islands/SubmitButton.jsx": $$9,
},
baseUrl: import.meta.url,
config,
}

export default manifest
22 changes: 0 additions & 22 deletions import_map.json

This file was deleted.

5 changes: 3 additions & 2 deletions routes/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const METADATA = {
index: true,
follow: true,
},
description: "A website for a very special boy.",
description: "Instagram for one, plus whole bunch of other stuff.",
openGraph: {
url: "https://linceo.club",
siteName: "Linceo Club",
Expand Down Expand Up @@ -150,7 +150,8 @@ export const Layout = ({ children, data, meta }) => {
{/* // Open Graph URL should be the cannonical. */}
<meta
property="og:url"
content={metadata.openGraph.url + data.url.pathname}
content={metadata.openGraph.url}
// data.url.pathname
/>
<meta property="og:title" content={metadata.title} />
<meta property="og:description" content={metadata.description} />
Expand Down

0 comments on commit d88de44

Please sign in to comment.