diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml
index 10ea4e0..4a5d741 100644
--- a/.github/workflows/hugo.yaml
+++ b/.github/workflows/hugo.yaml
@@ -6,6 +6,7 @@ on:
- "v*"
schedule:
- cron: '0 0 * * *' # once a day
+ workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
@@ -30,7 +31,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with:
- hugo-version: '0.138.0'
+ hugo-version: '0.140.0'
extended: true
- name: Setup Node
diff --git a/.gitmodules b/.gitmodules
index ed7f0d7..fd73f7b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "themes/docsy"]
path = themes/docsy
url = https://github.com/google/docsy
+[submodule "modules/chall-manager"]
+ path = modules/chall-manager
+ url = https://github.com/ctfer-io/chall-manager
diff --git a/content/docs/_index.md b/content/docs/_index.md
new file mode 100644
index 0000000..2c28218
--- /dev/null
+++ b/content/docs/_index.md
@@ -0,0 +1,11 @@
+---
+title: Docs
+menu:
+ main:
+ weight: 20
+ pre:
+---
+
+{{% alert title="Warning" color="warning" %}}
+Currently entering public beta phase, for any issue: ctfer-io@protonmail.com
+{{% /alert %}}
\ No newline at end of file
diff --git a/go.mod b/go.mod
index ea53107..475506f 100644
--- a/go.mod
+++ b/go.mod
@@ -2,4 +2,7 @@ module github.com/ctfer-io/website
go 1.23.2
-require github.com/google/docsy v0.11.0 // indirect
+require (
+ github.com/ctfer-io/ctfd-chall-manager v0.1.0 // indirect
+ github.com/google/docsy v0.11.0 // indirect
+)
diff --git a/go.sum b/go.sum
index 4d3c959..9ee3462 100644
--- a/go.sum
+++ b/go.sum
@@ -1,7 +1,7 @@
-github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de h1:JvHOfdSqvArF+7cffH9oWU8oLhn6YFYI60Pms8M/6tI=
github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
-github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc=
+github.com/ctfer-io/ctfd-chall-manager v0.1.0 h1:9jYvjKCrb87rmCNQjDxT6k9ShB0razHVXDUHcjjop10=
+github.com/ctfer-io/ctfd-chall-manager v0.1.0/go.mod h1:mUMMX0YLEtzkBQo4QK+EeJ5PJnaNjgNcV3s8fVZ/9+M=
github.com/google/docsy v0.11.0 h1:QnV40cc28QwS++kP9qINtrIv4hlASruhC/K3FqkHAmM=
github.com/google/docsy v0.11.0/go.mod h1:hGGW0OjNuG5ZbH5JRtALY3yvN8ybbEP/v2iaK4bwOUI=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
diff --git a/hugo.yaml b/hugo.yaml
index a4aabdf..8cf9717 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -58,8 +58,8 @@ params:
footer_about_enable: true
navbar_logo: true
navbar_translucent_over_cover_disable: false
- sidebar_menu_compact: false
sidebar_search_disable: true
+ sidebar_menu_foldable: true
feedback:
enable: true
yes: Glad to hear it! Please /home/nicolas/5AS10/ctfer-l3
+ replacements: github.com/ctfer-io/chall-manager -> ../modules/chall-manager # protips: relative from ./themes
hugoVersion:
extended: true
- min: 0.110.0
+ min: 0.140.0
imports:
- path: github.com/google/docsy
disable: false
- # - path: github.com/ctfer-io/ctfer-l3
- # mounts:
- # - source: webdocs
- # target: content/docs/ctfer-l3
+ - path: github.com/ctfer-io/chall-manager
+ mounts:
+ - source: webdocs
+ target: content/docs/chall-manager
+ - path: github.com/ctfer-io/ctfd-chall-manager
+ mounts:
+ - source: webdocs
+ target: content/docs/ctfd-chall-manager
diff --git a/modules/chall-manager b/modules/chall-manager
new file mode 160000
index 0000000..40b6d54
--- /dev/null
+++ b/modules/chall-manager
@@ -0,0 +1 @@
+Subproject commit 40b6d547e0025fbbd3468955c25abc2a00c9933c