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