39 lines
946 B
JavaScript
39 lines
946 B
JavaScript
|
import { PagesCollection, PostCollection } from "./collections.js";
|
||
|
|
||
|
const config = {
|
||
|
backend: {
|
||
|
name: "gitea",
|
||
|
repo: "gcg/schuelerzeitung",
|
||
|
branch: "main",
|
||
|
api_root: "https://git.cantorgymnasium.de/api/v1",
|
||
|
base_url: "https://oauth.cantorgymnasium.de",
|
||
|
commit_messages: {
|
||
|
create: "{{collection}} {{slug}} erstellt",
|
||
|
update: "{{collection}} {{slug}} aktualisiert",
|
||
|
delete: "{{collection}} {{slug}} gelöscht",
|
||
|
updateMedia: "{{path}} hochgeladen",
|
||
|
deleteMedia: "{{path}} gelöscht",
|
||
|
},
|
||
|
},
|
||
|
local_backend: true,
|
||
|
media_folder: "/static",
|
||
|
public_folder: "/",
|
||
|
media_library: {
|
||
|
max_file_size: 10240000,
|
||
|
folder_support: true,
|
||
|
},
|
||
|
site_url: "https://schuelerzeitung-gcg.de",
|
||
|
locale: "de",
|
||
|
slug: {
|
||
|
encoding: "ascii",
|
||
|
clean_accents: true,
|
||
|
sanitize_replacement: "-",
|
||
|
},
|
||
|
collections: [
|
||
|
PostCollection,
|
||
|
PagesCollection
|
||
|
],
|
||
|
};
|
||
|
|
||
|
export default config;
|