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 @@ -<!DOCTYPE html> -<html lang="de"> -<head> +<!doctype html> +<html> + <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="robots" content="noindex" /> <title>Content Manager</title> - <script src=""></script> -</head> -<body> -<script src=""></script> -</body> -</html> \ No newline at end of file + </head> + <body> + <!-- Include the script that builds the page and powers Decap CMS --> + <script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script> + </body> +</html> +