diff --git a/.idea/deno.xml b/.idea/deno.xml index 0836fab..2e4b145 100644 --- a/.idea/deno.xml +++ b/.idea/deno.xml @@ -1,7 +1,6 @@ - \ No newline at end of file diff --git a/_config.ts b/_config.ts index 9c1458a..64875b6 100644 --- a/_config.ts +++ b/_config.ts @@ -80,6 +80,7 @@ site.use(feed({ limit: 10, info: { title: "Videogames", // TODO: Change this to your site's videogame section's name! + }, items: { title: "=name" diff --git a/_scripts/importSteam.ts b/_scripts/importSteam.ts index 42ca5b2..db97b34 100644 --- a/_scripts/importSteam.ts +++ b/_scripts/importSteam.ts @@ -1,4 +1,4 @@ -import { loadSync as loadEnv } from "dotenv/mod.ts"; +import { loadSync as loadEnv } from "@std/dotenv/mod.ts"; import {default as site} from "../_config.ts" import {formatDateIso} from "../_utils/date.ts" import {GameData, GameIdentifier, GamePage} from "../_utils/game.ts" diff --git a/deno.json b/deno.json index 0db277f..0e0beea 100644 --- a/deno.json +++ b/deno.json @@ -1,12 +1,14 @@ { "imports": { "@std/dotenv": "jsr:@std/dotenv@^0.225.2", + "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@v0.6.8/", "lume/": "https://deno.land/x/lume@v2.3.3/" }, "tasks": { "lume": "echo \"import 'lume/cli.ts'\" | deno run -A -", "build": "deno task lume", "serve": "deno task lume -s", + "cms": "deno task lume cms", "import-steam": "deno run --allow-env --allow-read=. --allow-net --allow-write=. _scripts/importSteam.ts" }, "compilerOptions": { diff --git a/deno.lock b/deno.lock index 7e5923c..0a537f1 100644 --- a/deno.lock +++ b/deno.lock @@ -507,6 +507,9 @@ } } }, + "redirects": { + "https://deno.land/x/lume/types.ts": "https://deno.land/x/lume@v2.3.3/types.ts" + }, "remote": { "https://cdn.jsdelivr.net/gh/lumeland/cms@v0.5.0/adapters/lume.ts": "e33373886b9920515a0f0da9c9c4d38974a66e447a65925ca522be41e7491af6", "https://cdn.jsdelivr.net/gh/lumeland/cms@v0.5.0/core/cms.ts": "a423a22c4005c319918131841517a263dc2a89875ed4421c9b122656033cd3a4",