Skip to content

Commit

Permalink
fix menu item link assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Nov 11, 2019
1 parent b4e7dcd commit 0798650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (p *Parser) Render() error {
if f.Path == "" || f.Path == "/" {
if p.Config.BaseURL != "" {
ctx.Link = p.Config.BaseURL
menuItem = ctx.Link
menuItem.Link = ctx.Link
}
}

Expand Down

0 comments on commit 0798650

Please sign in to comment.