From 50f790b65f406544ff0b8a680e791666dc5ff12f Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 27 Jan 2023 18:41:08 +0100 Subject: [PATCH] cms optimizations --- static/admin/config.yml | 11 ++++-- static/admin/index.html | 78 ----------------------------------------- 2 files changed, 8 insertions(+), 81 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 17d59ce..1b00b76 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -5,9 +5,9 @@ backend: api_root: https://git.cantorgymnasium.de/api/v1 base_url: https://oauth.cantorgymnasium.de commit_messages: - create: "{{slug}} in {{collection}} erstellt" - update: "{{slug}} in {{collection}} aktualisiert" - delete: "{{slug}} aus {{collection}} gelöscht" + create: "{{collection}} {{slug}} erstellt" + update: "{{collection}} {{slug}} aktualisiert" + delete: "{{collection}} {{slug}} gelöscht" uploadMedia: "{{path}} hochgeladen" deleteMedia: "{{path}} gelöscht" @@ -19,6 +19,11 @@ site_url: https://cantorgymnasium.de display_url: https://cantorgymnasium.de locale: "de" +slug: + encoding: "ascii" + clean_accents: true + sanitize_replacement: "-" + show_preview_links: false collections: diff --git a/static/admin/index.html b/static/admin/index.html index 38d5f86..02fb08a 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -12,7 +12,6 @@ font-family: sans-serif; } - -