From 82fb207372c3164cbd13c084feac6c470aeda84c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 26 Apr 2018 14:54:14 +0100 Subject: [PATCH] Tidy nav code --- source/_includes/nav.html.twig | 45 ++++++---------------------------- 1 file changed, 7 insertions(+), 38 deletions(-) diff --git a/source/_includes/nav.html.twig b/source/_includes/nav.html.twig index 77e9fda1..e5715a16 100644 --- a/source/_includes/nav.html.twig +++ b/source/_includes/nav.html.twig @@ -16,48 +16,17 @@ {% set links = [ - { - title: 'About', - href: '/', - pattern: '^/.$' - }, - { - title: 'Experience', - href: '/experience', - pattern: '^/experience/?$' - }, - { - title: 'Talks', - href: '/talks', - pattern: '^/talks/?' - }, - { - title: 'Open Source', - href: '/opensource', - pattern: '^/opensource/?$' - }, - { - title: 'Blog', - href: '/blog', - pattern: '^/blog/?' - }, - { - title: 'Contact', - href: '/contact', - pattern: '^/contact/?' - } + { title: 'About', href: '/', pattern: '^/.$' }, + { title: 'Experience', href: '/experience', pattern: '^/experience/?$' }, + { title: 'Talks', href: '/talks', pattern: '^/talks/?' }, + { title: 'Open Source', href: '/opensource', pattern: '^/opensource/?$' }, + { title: 'Blog', href: '/blog', pattern: '^/blog/?' }, + { title: 'Contact', href: '/contact', pattern: '^/contact/?' } ] %}