From 925b66a3a20fd28d421b7867e9fb7f5a8e76bb7f Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 7 Oct 2024 11:28:32 -0500 Subject: fix link headings --- layouts/base.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/base.lua') diff --git a/layouts/base.lua b/layouts/base.lua index 1c585d7..f4912c7 100644 --- a/layouts/base.lua +++ b/layouts/base.lua @@ -22,7 +22,7 @@ return function(html, page_tbl) function(s) return string.format( '

%s

%s
', - s, string.rep('=', string.len(s)) + s, string.rep('=', string.len(string.gsub(s, '<.*>', ''))) ) end ) -- cgit v1.2.1