Adjust active nav links

This commit is contained in:
Oliver Davies 2019-05-21 22:14:04 +01:00
parent 809961237f
commit 25fe073f88

View file

@ -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,
},
{