A Hugo theme to host Capture-The-Flag (CTF) challenges as a static website.
You may test a demo of this theme on Hackropole website.
Features:
- Lightweight.
- Secure (no server-side code required, hardened CSP).
- Usable without JavaScript.
- CSS based on Bootstrap 5 with automatic dark mode.
- No NodeJS tools required to build.
- Render write-ups Markdown with a GitHub/Gitlab-like style.
Free software used:
- Hugo site generator
- Bootstrap 5 stylesheets
- KaTeX engine (math formula rendering)
- Solarized color theme
To get started, you should copy the content of ./exampleSite/
.
Then, you should be able to use this theme as any other Hugo theme:
hugo new site my-ctf-website
cd my-ctf-website
git clone https://github.com/ANSSI-FR/hackropole-hugo.git themes/hackropole
rm hugo.toml && cp -r themes/hackropole/exampleSite/* .
hugo serve