From f020e893bc056cd1bb4e9c14e7a80134387f8833 Mon Sep 17 00:00:00 2001 From: TiG Date: Fri, 29 Jan 2021 16:01:16 +0100 Subject: [PATCH 1/5] update menu link gitlab to castellum group --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 9d24fed..16a7f4b 100644 --- a/config.toml +++ b/config.toml @@ -35,7 +35,7 @@ enableRobotsTXT = true weight = 1 [[menu.icon]] - url = "https://git.mpib-berlin.mpg.de/castellum/castellum/" + url = "https://git.mpib-berlin.mpg.de/castellum" name = "fab fa-gitlab" weight = 2 -- GitLab From 19444f9a635d654d38b28848ce127683bbad0f8c Mon Sep 17 00:00:00 2001 From: TiG Date: Fri, 5 Feb 2021 10:12:31 +0100 Subject: [PATCH 2/5] remove minimal theme --- .gitmodules | 3 --- themes/minimal | 1 - 2 files changed, 4 deletions(-) delete mode 160000 themes/minimal diff --git a/.gitmodules b/.gitmodules index 7b30435..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "themes/minimal"] - path = themes/minimal - url = https://github.com/calintat/minimal.git diff --git a/themes/minimal b/themes/minimal deleted file mode 160000 index 987f270..0000000 --- a/themes/minimal +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 987f270dfee350c561a4c588724c8eae290aeaa8 -- GitLab From 78e7cc85064ca5f30b98832037ee8d2d939ab8d2 Mon Sep 17 00:00:00 2001 From: TiG Date: Fri, 5 Feb 2021 10:16:35 +0100 Subject: [PATCH 3/5] tmp empty theme --- config.toml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/config.toml b/config.toml index 16a7f4b..2226050 100644 --- a/config.toml +++ b/config.toml @@ -1,33 +1,36 @@ baseURL = "https://castellum.mpib.berlin/" languageCode = "en-us" title = "Castellum" -theme = "minimal" +theme = "" DefaultContentLanguage = "en" enableRobotsTXT = true [[menu.main]] - url = "/" - name = "Home" - weight = 1 + name = "Home" + url = "/" + weight = 1 + +[[menu.main]] + name = "Contact" + url = "/contact/" + weight = 2 -[menu] - [[menu.main]] - name = "Contact" - url = "/contact/" - weight = 2 +[markup.goldmark.renderer] + unsafe = false [params] author = "Castellum Team" - description = "A Subject Database Meeting Data Protection Standards" + description = "Castellum - A Subject Database Meeting Data Protection Standards" favicon = "img/castellum-logo.png" + MathJax = false accent = "#2F5D77" # should match MPIB colors showBorder = true backgroundColor = "white" - highlight = true - highlightStyle = "solarized-light" - highlightLanguages = ["python", "html", "css", "javascript"] + highlight = false css = ["css/custom.css"] + copyright = true + imprint = "/imprint/" [[menu.icon]] url = "mailto:goettel@mpib-berlin.mpg.de" -- GitLab From fdf7983691dcecb5d725cb37a8a5c919ad65dcab Mon Sep 17 00:00:00 2001 From: TiG Date: Fri, 5 Feb 2021 10:19:58 +0100 Subject: [PATCH 4/5] add castellum theme submodule --- .gitmodules | 3 +++ config.toml | 2 +- themes/castellum | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 themes/castellum diff --git a/.gitmodules b/.gitmodules index e69de29..f9054e1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/castellum"] + path = themes/castellum + url = https://git.mpib-berlin.mpg.de/castellum/castellum_hugo_theme.git diff --git a/config.toml b/config.toml index 2226050..9f69624 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,7 @@ baseURL = "https://castellum.mpib.berlin/" languageCode = "en-us" title = "Castellum" -theme = "" +theme = "castellum" DefaultContentLanguage = "en" enableRobotsTXT = true diff --git a/themes/castellum b/themes/castellum new file mode 160000 index 0000000..15832e4 --- /dev/null +++ b/themes/castellum @@ -0,0 +1 @@ +Subproject commit 15832e4dbea57fc6ddde3909826bb452b79fc355 -- GitLab From 30e242f3b4c501283f200763b9723a1a11cd886f Mon Sep 17 00:00:00 2001 From: TiG Date: Fri, 5 Feb 2021 10:56:37 +0100 Subject: [PATCH 5/5] add copyright.html --- layouts/partials/copyright.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 layouts/partials/copyright.html diff --git a/layouts/partials/copyright.html b/layouts/partials/copyright.html new file mode 100644 index 0000000..34fcf89 --- /dev/null +++ b/layouts/partials/copyright.html @@ -0,0 +1,4 @@ +{{ with .Site.Params.imprint }}Imprint.{{ end }} +© Castellum Team at MPIB. +Made with Hugo . + \ No newline at end of file -- GitLab