Go to file
martcl 711b6275c8 chore: martcl website change domain 2023-12-16 21:46:35 +01:00
.github/workflows Add pages-workflow 2023-09-21 22:45:01 +02:00
content chore: martcl website change domain 2023-12-16 21:46:35 +01:00
layouts/partials Initial upload 2023-09-19 23:38:51 +02:00
public Initial upload 2023-09-19 23:38:51 +02:00
static Initial upload 2023-09-19 23:38:51 +02:00
themes Initial upload 2023-09-19 23:38:51 +02:00
.gitmodules Initial upload 2023-09-19 23:38:51 +02:00
.hugo_build.lock Initial upload 2023-09-19 23:38:51 +02:00
README.md Update members, add readme 2023-09-21 22:41:39 +02:00
config.toml Minor front page updates: ctfd and title 2023-10-17 17:14:44 +02:00

README.md

WackAttack.eu

Source and configuration for our public-facing website.

Structure

This is is a fairly standard Hugo-site, as described in their docs

The most important files to edit:

  • content/
    • _index.md: Front page
    • writeups/pwn/bof.md: Writeup for the challenge "bof" in the "pwn" category
  • config.toml: Main config - Themes, menu links, etc.
  • static/: Files published directly, like logos, js and css
  • layouts/: Override HTML from the theme, custom partials, etc.

Running in development

  1. Clone the repository with submodules
    • git clone --recursive git@github.com:felixalbrigtsen/wackattack-www.git
  2. Install hugo
  3. Edit files as you choose
    • To make new pages, either use the CLI tool (hugo new content writeups/pwn/bof) or copy an existing one
  4. Run dev server hugo serve -D (This also includes pages marked as draft)
  5. Test that the site looks OK
    • Light mode
    • Dark mode
    • Mobile
  6. Commit and push
  7. The changes will be pushed to production automatically when merged into main

Deployment

The site is hosted on GitHub Pages, and will automatically update whenever something is pushed or merged into the main branch.