mirror of
https://github.com/starshardstudio/peafowl.git
synced 2024-11-21 20:44:19 +00:00
Readd cms
This commit is contained in:
parent
5c2481cbb1
commit
09041183ca
5 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="DenoSettings">
|
<component name="DenoSettings">
|
||||||
<option name="denoInit" value="{ "enable": true, "lint": true, "unstable": true, "importMap": "deno.json", "config": "deno.json" }" />
|
|
||||||
<option name="useDenoValue" value="ENABLE" />
|
<option name="useDenoValue" value="ENABLE" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -80,6 +80,7 @@ site.use(feed({
|
||||||
limit: 10,
|
limit: 10,
|
||||||
info: {
|
info: {
|
||||||
title: "Videogames", // TODO: Change this to your site's videogame section's name!
|
title: "Videogames", // TODO: Change this to your site's videogame section's name!
|
||||||
|
|
||||||
},
|
},
|
||||||
items: {
|
items: {
|
||||||
title: "=name"
|
title: "=name"
|
||||||
|
|
|
@ -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 {default as site} from "../_config.ts"
|
||||||
import {formatDateIso} from "../_utils/date.ts"
|
import {formatDateIso} from "../_utils/date.ts"
|
||||||
import {GameData, GameIdentifier, GamePage} from "../_utils/game.ts"
|
import {GameData, GameIdentifier, GamePage} from "../_utils/game.ts"
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"@std/dotenv": "jsr:@std/dotenv@^0.225.2",
|
"@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/"
|
"lume/": "https://deno.land/x/lume@v2.3.3/"
|
||||||
},
|
},
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -",
|
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -",
|
||||||
"build": "deno task lume",
|
"build": "deno task lume",
|
||||||
"serve": "deno task lume -s",
|
"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"
|
"import-steam": "deno run --allow-env --allow-read=. --allow-net --allow-write=. _scripts/importSteam.ts"
|
||||||
},
|
},
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
|
|
@ -507,6 +507,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"redirects": {
|
||||||
|
"https://deno.land/x/lume/types.ts": "https://deno.land/x/lume@v2.3.3/types.ts"
|
||||||
|
},
|
||||||
"remote": {
|
"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/adapters/lume.ts": "e33373886b9920515a0f0da9c9c4d38974a66e447a65925ca522be41e7491af6",
|
||||||
"https://cdn.jsdelivr.net/gh/lumeland/cms@v0.5.0/core/cms.ts": "a423a22c4005c319918131841517a263dc2a89875ed4421c9b122656033cd3a4",
|
"https://cdn.jsdelivr.net/gh/lumeland/cms@v0.5.0/core/cms.ts": "a423a22c4005c319918131841517a263dc2a89875ed4421c9b122656033cd3a4",
|
||||||
|
|
Loading…
Reference in a new issue