Simplify navbar

This commit is contained in:
Oliver Davies 2019-07-25 00:54:04 +01:00
parent bb7c562577
commit 3e6dc96467
6 changed files with 96 additions and 140 deletions

36
data/menus.yml Normal file
View file

@ -0,0 +1,36 @@
menus:
main:
about:
title: 'About'
href: '/'
pattern: '^/.$'
articles:
title: 'Articles'
href: '/articles'
pattern: '^/articles/?'
talks:
title: 'Talks'
href: '/talks'
pattern: '^/talks/?'
podcasts:
title: 'Podcasts'
href: '/podcasts'
pattern: '^/podcasts/?'
projects:
title: 'Projects'
href: '/projects'
pattern: '^/projects/?$'
book:
title: 'Book'
href: '/test-driven-drupal'
pattern: '^/test-driven-drupal/?$'
contact:
title: 'Contact'
href: '/contact'
pattern: '^/contact/?'