Re-organise partials

This commit is contained in:
Oliver Davies 2019-01-05 00:17:55 +00:00
parent 37c766a802
commit 8829dce0f4
11 changed files with 10 additions and 43 deletions

View file

@ -4,7 +4,7 @@
<ul class="pl-5">
{% for type, value in site.availability %}
<li>
{% include 'availability/' ~ value %}
{% include 'about/availability/' ~ value %}
</li>
{% endfor %}
</ul>

View file

@ -14,7 +14,7 @@
<div class="markup -mb-3">
<h2 class="visuallyhidden">Certifications</h2>
{% include 'certification' with {
{% include 'about/certification' with {
title: 'Acquia certified Grand Master - Drupal 8',
url: 'http://certification.acquia.com/user/1647756',
image: {
@ -23,7 +23,7 @@
},
} %}
{% include 'certification' with {
{% include 'about/certification' with {
title: 'Acquia certified Developer - Drupal 8',
image: {
filename: 'acquia-d8-developer.png',
@ -31,7 +31,7 @@
},
} %}
{% include 'certification' with {
{% include 'about/certification' with {
title: 'Acquia certified Back End Specialist - Drupal 8',
image: {
filename: 'acquia-d8-back-end.png',
@ -39,7 +39,7 @@
},
} %}
{% include 'certification' with {
{% include 'about/certification' with {
title: 'Acquia certified Front End Specialist - Drupal 8',
image: {
filename: 'acquia-d8-front-end.png',
@ -47,7 +47,7 @@
},
} %}
{% include 'certification' with {
{% include 'about/certification' with {
title: 'Acquia certified Cloud Pro',
image: {
filename: 'acquia-cloud-pro.png',

View file

@ -1,10 +0,0 @@
<li class="mr-2">
<a href="{{ url }}">
<img
class="h-16"
src="/images/meetups/{{ logo }}"
title="{{ name }}"
alt="{{ name }} logo"
>
</a>
</li>

View file

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

View file

@ -27,12 +27,12 @@ permalink: /
<p>You can find me on <a href="https://twitter.com/opdavies">Twitter</a>, and see my open source work on <a href="https://www.drupal.org/u/opdavies">Drupal.org</a> and <a href="http://github.com/opdavies">GitHub</a> as well as on <a href="https://packagist.org/users/opdavies">Packagist</a>, <a href="https://www.npmjs.com/~opdavies">npm</a> and <a href="https://galaxy.ansible.com/opdavies">Ansible Galaxy</a>.</p>
</div>
{% include 'availability' %}
{% include 'about/availability' %}
{% include 'posts/latest' %}
</div>
<div class="w-full md:w-2/5 lg:w-1/3 px-6">
{% include 'badges' %}
{% include 'about/badges' %}
</div>
</div>
{% endblock %}

View file

@ -43,7 +43,7 @@ talks:
{% set upcoming_talks = getUpcomingTalks(data.talks|merge(page.talks), site.events) %}
{% if not upcoming_talks.empty %}
{% include "talks-table" with {
{% include "talks/table" with {
talks: upcoming_talks,
upcoming: true,
} %}
@ -55,7 +55,7 @@ talks:
<div>
<h2 class="mb-2">Previous Talks</h2>
{% include "talks-table" with {
{% include "talks/table" with {
talks: getPastTalks(data.talks|merge(page.talks), site.events)
} %}
</div>