2023-05-29 16:22:34 +02:00
|
|
|
import {
|
|
|
|
AbiturientenCollection,
|
|
|
|
AuthorCollection,
|
|
|
|
BegabteCollection,
|
|
|
|
BlogCollection,
|
|
|
|
CantorforaCollection,
|
|
|
|
CantorpreisCollection,
|
|
|
|
ChronikjahreCollection,
|
|
|
|
ChronikseitenCollection,
|
|
|
|
FormsCollection,
|
|
|
|
GanztagCollection,
|
|
|
|
IndexPagesCollection,
|
|
|
|
PagesCollection,
|
|
|
|
ProjektwocheCollection,
|
|
|
|
SettingsCollection,
|
|
|
|
StatsCollection,
|
|
|
|
SuperhaufenCollection,
|
|
|
|
WettbewerbeCollection,
|
|
|
|
} from "./collections/index.js";
|
2023-12-13 12:42:59 +01:00
|
|
|
import { GCGThemeDark, GCGThemeLight } from "./themes.js";
|
2023-05-11 06:44:30 +02:00
|
|
|
|
|
|
|
const config = {
|
2023-05-29 16:22:34 +02:00
|
|
|
backend: {
|
|
|
|
name: "gitea",
|
|
|
|
repo: "gcg/gcg-website",
|
|
|
|
branch: "master",
|
2023-11-15 21:18:21 +01:00
|
|
|
api_root: "http://localhost:3000/api/v1",
|
|
|
|
base_url: "http://localhost:3000",
|
2024-05-18 14:52:01 +02:00
|
|
|
app_id: "9be28818-ee6f-44c9-8d88-bb287b19cf73",
|
2023-05-29 16:22:34 +02:00
|
|
|
commit_messages: {
|
|
|
|
create: "{{collection}} {{slug}} erstellt",
|
|
|
|
update: "{{collection}} {{slug}} aktualisiert",
|
|
|
|
delete: "{{collection}} {{slug}} gelöscht",
|
|
|
|
updateMedia: "{{path}} hochgeladen",
|
|
|
|
deleteMedia: "{{path}} gelöscht",
|
2023-05-11 06:44:30 +02:00
|
|
|
},
|
2023-05-29 16:22:34 +02:00
|
|
|
},
|
|
|
|
local_backend: true,
|
2023-12-13 12:42:59 +01:00
|
|
|
media_folder: "static/media",
|
2023-05-29 16:22:34 +02:00
|
|
|
public_folder: "/media",
|
|
|
|
media_library: {
|
|
|
|
max_file_size: 10240000,
|
|
|
|
folder_support: true,
|
|
|
|
},
|
|
|
|
site_url: "https://cantorgymnasium.de",
|
|
|
|
locale: "de",
|
|
|
|
slug: {
|
|
|
|
encoding: "ascii",
|
|
|
|
clean_accents: true,
|
|
|
|
sanitize_replacement: "-",
|
|
|
|
},
|
2023-12-13 12:42:59 +01:00
|
|
|
theme: {
|
|
|
|
include_built_in_themes: false,
|
|
|
|
themes: [
|
|
|
|
GCGThemeDark,
|
|
|
|
GCGThemeLight
|
|
|
|
]
|
|
|
|
},
|
2023-05-29 16:22:34 +02:00
|
|
|
collections: [
|
|
|
|
SettingsCollection,
|
|
|
|
IndexPagesCollection,
|
|
|
|
PagesCollection,
|
|
|
|
AuthorCollection,
|
|
|
|
BlogCollection,
|
|
|
|
FormsCollection,
|
|
|
|
GanztagCollection,
|
|
|
|
WettbewerbeCollection,
|
|
|
|
BegabteCollection,
|
|
|
|
ProjektwocheCollection,
|
|
|
|
ChronikjahreCollection,
|
|
|
|
SuperhaufenCollection,
|
|
|
|
CantorpreisCollection,
|
|
|
|
AbiturientenCollection,
|
|
|
|
CantorforaCollection,
|
|
|
|
ChronikseitenCollection,
|
|
|
|
StatsCollection,
|
|
|
|
],
|
2023-05-11 06:44:30 +02:00
|
|
|
};
|
|
|
|
|
2023-05-29 16:22:34 +02:00
|
|
|
export default config;
|