Adjust active nav links
This commit is contained in:
parent
809961237f
commit
25fe073f88
|
@ -1,5 +1,4 @@
|
|||
{% set links = [
|
||||
<<<<<<< HEAD
|
||||
{
|
||||
title: 'Tickets',
|
||||
href: site['tickets']['url'],
|
||||
|
@ -15,13 +14,13 @@
|
|||
{
|
||||
title: 'Speakers',
|
||||
href: '/#speakers',
|
||||
active: page.layout in ['session', 'speaker'],
|
||||
active: page.layout == 'speaker',
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
title: 'Schedule',
|
||||
href: '/#schedule',
|
||||
active: page.url == '/schedule' or page.layout in ['session', 'speaker'],
|
||||
active: page.url == '/schedule' or page.layout == 'session',
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue