Open wldhg opened 6 years ago
I wanted to display color bar under now-menu. But if now-page is not main page, color bar did not displayed.
So I resolved this problem with code below.
(Changing layout/partial/nav.jade) (From) - var act = !re.test(value) && "/"+page.current_url === value (To) - var act = !re.test(value) && ("/"+String(page.path).substring(0,String(page.path).indexOf("/")) == value)
Is this problem is intended?
No, it's really a known bug I don't have time to solve. Please feel free to submit a pull request. :)
I'll add many functions and fix several bugs until July, After complete whole task, I'll make a pull request XD
I wanted to display color bar under now-menu. But if now-page is not main page, color bar did not displayed.
So I resolved this problem with code below.
Is this problem is intended?