notes / meta / how-this-site-works.md

How this site is published

Every page here is a Markdown file. This is the format.

1 min read#meta

Every post on this site is a plain .md file. Drop it in a folder, run the build, done.

Where files go

SectionFolderURL
Writeupssrc/content/writeups//writeups/<file-name>/
Notessrc/content/notes//notes/<file-name>/

Images can sit right next to the post and be linked relatively: ![request](./burp.png).

Front matter

---
title: knightCTF web/Admin Access   # "event web/name" puts the accent on the slash
date: 2025-01-22
description: One line under the title
tags: [ctf, writeup, knightctf]
event: knightCTF        # writeups only: groups the archive filter
firstBlood: false       # writeups only: shows the badge
draft: true             # optional: hidden from the build, visible in dev
---

Notes are filtered by their first tag, so put the topic first.

Callouts

> [!NOTE]
> Plain information.

> [!TIP]
> Something useful.

> [!WARNING]
> Something that bites.

Flags and code

A fenced block with the language flag becomes the flag box. Any other language gets syntax highlighting and a copy button.

flag{example}
npm run dev     # live preview on http://localhost:4321
npm run build   # static site in dist/

This post is licensed under CC BY 4.0 by the author.