Go to file
Martin Clementz ba763e649b
Merge pull request #1 from felixalbrigtsen/chore/martcl-links
chore: added martcl writeup page
2023-09-22 14:14:53 +02:00
.github/workflows Add pages-workflow 2023-09-21 22:45:01 +02:00
content chore: added martcl writeup page 2023-09-22 12:43:18 +02: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 Fix grammar, temporarily patch writeups 2023-09-21 21:00:29 +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.