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/?',

View file

@ -53,7 +53,7 @@ use: [posts]
{% endfor %}
</ul>
{% include 'post-pager.html.twig' %}
{% include 'post-pager' %}
{% endblock %}
{% block scripts %}

View file

@ -147,7 +147,7 @@ projects:
<div class="mb-4">
<h2>Drupal</h2>
{% include 'opensource/projects.html.twig' with {
{% include 'opensource/projects' with {
projects: page.projects.drupal
} %}
</div>
@ -155,7 +155,7 @@ projects:
<div class="mb-4">
<h2>Sculpin</h2>
{% include 'opensource/projects.html.twig' with {
{% include 'opensource/projects' with {
projects: page.projects.sculpin
} %}
</div>
@ -163,7 +163,7 @@ projects:
<div>
<h2>PHP</h2>
{% include 'opensource/projects.html.twig' with {
{% include 'opensource/projects' with {
projects: page.projects.php
} %}
</div>