From de203140194222dc7843c4a25e1ca0b2ca9c23cf Mon Sep 17 00:00:00 2001 From: Frieder Hannenheim Date: Wed, 21 May 2025 14:24:39 +0200 Subject: [PATCH] Change base url to test.ifsr.de and basic decap configuration --- hugo.toml | 4 ++-- static/admin/config.yml | 18 ++++++++++++++++-- static/admin/index.html | 20 +++++++++++--------- 3 files changed, 29 insertions(+), 13 deletions(-) diff --git a/hugo.toml b/hugo.toml index e98d93c..a26dc2a 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = "https://jannikmenzel.me/iFSR-Website/" +baseURL = "https://test.ifsr.de/" canonifyURLs = true languageCode = 'de' title = 'iFSR-Website' @@ -19,4 +19,4 @@ disableXML = true [markup.goldmark] [markup.goldmark.parser] [markup.goldmark.parser.attribute] -title = true \ No newline at end of file +title = true diff --git a/static/admin/config.yml b/static/admin/config.yml index aedef35..7e73245 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -1,5 +1,19 @@ backend: - name: git-gateway + name: gitea branch: main + repo: FSR/webseite + app_id: b634f97b-1525-4382-96d3-b1fa08858fd3 + api_root: https://git.ifsr.de/api/v1 + base_url: https://git.ifsr.de + auth_endpoint: https://git.ifsr.de/login/oauth/authorize media_folder: "static/images" -public_folder: "/images" \ No newline at end of file +public_folder: "/images" + +collections: + - name: "content" + label: "Content" + folder: "content" + create: true + fields: + - { label: "Title", name: "title", widget: "string" } + - { label: "Body", name: "body", widget: "markdown" } diff --git a/static/admin/index.html b/static/admin/index.html index 22848e5..a855013 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1,12 +1,14 @@ - - - + + + + Content Manager - - - - - - \ No newline at end of file + + + + + + +