starshard/peafowl
Template
1
Fork 0
mirror of https://github.com/starshardstudio/peafowl.git synced 2024-12-14 15:24:19 +00:00

Readd cms

This commit is contained in:
Steffo 2024-10-10 02:20:31 +02:00
parent 5c2481cbb1
commit 09041183ca
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
5 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DenoSettings">
<option name="denoInit" value="{&#10; &quot;enable&quot;: true,&#10; &quot;lint&quot;: true,&#10; &quot;unstable&quot;: true,&#10; &quot;importMap&quot;: &quot;deno.json&quot;,&#10; &quot;config&quot;: &quot;deno.json&quot;&#10;}" />
<option name="useDenoValue" value="ENABLE" />
</component>
</project>

View file

@ -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"

View file

@ -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"

View file

@ -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": {

View file

@ -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",