summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/projects/aoc2021-bigboys.md2
-rwxr-xr-xgenerate.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/content/projects/aoc2021-bigboys.md b/content/projects/aoc2021-bigboys.md
index 536f310..48d88e9 100644
--- a/content/projects/aoc2021-bigboys.md
+++ b/content/projects/aoc2021-bigboys.md
@@ -4,6 +4,8 @@ Big inputs for Advent of Code 2021 puzzles.
$desc
+[TOC]
+
Don't eat all my server data cap, please mirror if you can.
If you have a problem with the naming scheme, rename it on your machine.
diff --git a/generate.py b/generate.py
index 956e842..7b1e6bb 100755
--- a/generate.py
+++ b/generate.py
@@ -25,7 +25,7 @@ ERRORS = {
504: "Gateway Timeout",
}
-md = lambda s: Markup(markdown(s, extensions=['fenced_code', 'codehilite']))
+md = lambda s: Markup(markdown(s, extensions=['fenced_code', 'codehilite', 'toc']))
File = namedtuple('File', 'content date slug ext')
def parse(path, has_date=False):