From 1862e7a1a2fcc21f5f8bbeb22188b98906759420 Mon Sep 17 00:00:00 2001 From: Kevin Lin <kevinl@cs.uw.edu> Date: Fri, 18 Sep 2020 09:17:33 -0700 Subject: [PATCH] _layouts: Add module heading id slug --- _layouts/module.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/module.html b/_layouts/module.html index 1ace16d..490feed 100644 --- a/_layouts/module.html +++ b/_layouts/module.html @@ -1,4 +1,4 @@ <div class="module"> - <h2>{{ page.title }}</h2> + <h2 id="{{ page.title | slugify }}">{{ page.title }}</h2> {{ content }} </div> -- GitLab