Update to +h mixin in the pattern.
This commit is contained in:
@@ -5,12 +5,17 @@
|
||||
include ../_config
|
||||
block config
|
||||
|
||||
mixin h(h)
|
||||
if headings[h]
|
||||
if headings[h].indexOf("|") == -1
|
||||
h2= headings[h]
|
||||
mixin h(h, p = null)
|
||||
if p !== null
|
||||
- text = headings[h].replace(/\*\*/g, p)
|
||||
else
|
||||
- text = headings[h]
|
||||
|
||||
if text
|
||||
if text.indexOf("|") == -1
|
||||
h2= text
|
||||
else
|
||||
- var cntnt = headings[h].split("|")
|
||||
- var cntnt = text.split("|")
|
||||
| <#{cntnt[0]}>#{cntnt[1]}</#{cntnt[0]}>
|
||||
|
||||
- const getDate = function(){
|
||||
|
||||
Reference in New Issue
Block a user