diff options
author | sanine <sanine.not@pm.me> | 2024-10-07 11:28:32 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-10-07 11:28:32 -0500 |
commit | 925b66a3a20fd28d421b7867e9fb7f5a8e76bb7f (patch) | |
tree | db860047711e64aad80fea6462579476aeb80196 | |
parent | 27f3d5cc0b87e25f700857622227d3918b8bc2c2 (diff) |
fix link headings
-rw-r--r-- | layouts/base.lua | 2 | ||||
-rw-r--r-- | site_root/portfolio.lua | 2 |
2 files changed, 2 insertions, 2 deletions
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( '<h1>%s</h1>%s</br>', - s, string.rep('=', string.len(s)) + s, string.rep('=', string.len(string.gsub(s, '<.*>', ''))) ) end ) diff --git a/site_root/portfolio.lua b/site_root/portfolio.lua index 2bc7e06..2b479f3 100644 --- a/site_root/portfolio.lua +++ b/site_root/portfolio.lua @@ -64,7 +64,7 @@ that I didn't quite trust not to have major security flaws, so phlox could provi ]] return { - title='about me', + title='portfolio', layout='base', markdown=md, } |