gcg-website/static/admin/config/schulchronik.js

61 lines
1.4 KiB
JavaScript
Raw Normal View History

2023-05-29 16:22:34 +02:00
import {
AbiturientenCollection,
CantorforaCollection,
CantorpreisCollection,
ChronikjahreCollection,
ChronikseitenCollection,
StatsCollection,
SuperhaufenCollection,
} from "./collections/index.js";
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",
api_root: "https://git.cantorgymnasium.de/api/v1",
2023-06-08 19:48:46 +02:00
base_url: "https://git.cantorgymnasium.de",
app_id: "1b612fb1-fbc1-44b2-9b9d-6eeb1dc55bff",
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:36:15 +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/schulchronik/",
locale: "de",
slug: {
encoding: "ascii",
clean_accents: true,
sanitize_replacement: "-",
},
theme: {
include_built_in_themes: false,
themes: [
GCGThemeDark,
GCGThemeLight
]
},
2023-05-29 16:22:34 +02:00
collections: [
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;