Consistent includes

This commit is contained in:
Oliver Davies 2018-06-21 01:12:16 +01:00
parent f08bf1e056
commit 5b036deaaf
4 changed files with 12 additions and 12 deletions

View file

@ -2,19 +2,19 @@
<h2 class="mb-2">Things that I organise</h2>
<ul class="list-reset inline-flex">
{% include 'meetup.html.twig' with {
{% include 'meetup' with {
name: 'Drupal Bristol',
logo: 'drupal-bristol.jpeg',
url: 'http://www.drupalbristol.org.uk',
} %}
{% include 'meetup.html.twig' with {
{% include 'meetup' with {
name: 'DrupalCamp Bristol',
logo: 'drupalcamp-bristol.png',
url: 'http://www.drupalcampbristol.co.uk',
} %}
{% include 'meetup.html.twig' with {
{% include 'meetup' with {
name: 'PHPSW',
logo: 'phpsw.jpeg',
url: 'http://phpsw.uk',

View file

@ -16,31 +16,31 @@
</div>
<nav class="hidden block w-full -mx-4 sm:w-2/3 lg:w-3/4 sm:flex sm:flex-wrap sm:justify-end" role="navigation">
{% include 'nav-item.html.twig' with {
{% include 'nav-item' with {
title: 'About',
href: '/',
pattern: '^/.$',
} %}
{% include 'nav-item.html.twig' with {
{% include 'nav-item' with {
title: 'Talks',
href: '/talks',
pattern: '^/talks/?',
} %}
{% include 'nav-item.html.twig' with {
{% include 'nav-item' with {
title: 'Blog',
href: '/blog',
pattern: '^/blog/?',
} %}
{% include 'nav-item.html.twig' with {
{% include 'nav-item' with {
title: 'Book',
href: '/test-driven-drupal',
pattern: '^/test-driven-drupal/?$',
} %}
{% include 'nav-item.html.twig' with {
{% include 'nav-item' with {
title: 'Contact',
href: '/contact',
pattern: '^/contact/?',