From 419d1c420d3a9bcc37f314f5642bd08e5c7f1b42 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Tue, 7 Dec 2021 23:09:07 +0000 Subject: aoc2021-bigboys: enable TOC --- content/projects/aoc2021-bigboys.md | 2 ++ generate.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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): -- cgit v1.2.3-54-g00ecf