diff options
-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, } |