Update pattern master header function

This commit is contained in:
2026-04-23 19:42:41 -04:00
parent 2595836df2
commit 76aebac4d1

View File

@@ -6,10 +6,10 @@ include ../_config
block config
mixin h(h, p = null)
if p !== null
- text = headings[h].replace(/\*\*/g, p)
else
- text = headings[h]
if p !== null
- text = text.replace(/\*\*/g, p)
if text
if text.indexOf("|") == -1