This commit is contained in:
Oliver Davies 2019-02-12 23:05:49 +00:00
parent 133341bad9
commit 773d0a21ea
2 changed files with 14 additions and 10 deletions

View file

@ -48,15 +48,19 @@ Its a simple filter that accepts a boolean and returns `true` or `false` as a
Before: Before:
<div v-pre markdown="1">
```language-twig ```language-twig
{% raw %}{{ filter.isArchive ? 'true' : 'false' }}{% endraw %} {% raw %}{{ filter.isArchive ? 'true' : 'false' }}{% endraw %}
``` ```
</div>
After: After:
<div v-pre markdown="1">
```language-twig ```language-twig
{% raw %}{{ filter.isArchive|boolean_string }}{% endraw %} {% raw %}{{ filter.isArchive|boolean_string }}{% endraw %}
``` ```
</div>
This can then be used to generate output like this, whereas having blank values would have resulted in errors when importing to Gmail. This can then be used to generate output like this, whereas having blank values would have resulted in errors when importing to Gmail.

View file

@ -13,25 +13,25 @@ permalink: /
{% block content %} {% block content %}
<div class="md:flex -mx-6"> <div class="md:flex -mx-6">
<div class="w-auto md:flex-1 px-6 mb-12 md:mb-0"> <div class="w-auto md:flex-1 px-6 mb-12 md:mb-0">
<div class="markup spaced-y-4 mb-8"> <div class="markup spaced-y-6 mb-8">
<div class="mb-4 w-32"><img src="/images/me-precedent.jpg" alt="Picture of Oliver" class="rounded-full border border-grey"/></div> <div class="mb-4 w-32"><img src="/images/me-precedent.jpg" alt="Picture of Oliver" class="rounded-full border border-grey"/></div>
<p>Hi, Im Oliver Davies (aka <a href="https://www.google.com/#q=opdavies">opdavies</a>) - a Full Stack Web Developer and System Administrator based in Wales, UK.</p> <p>Hi, Im Oliver Davies (aka <a href="https://www.google.com/#q=opdavies">opdavies</a>) - a Full Stack Web Developer and System Administrator based in Wales, UK.</p>
<p>Im a Senior Developer at <a href="https://microserve.io?utm_source=oliverdavies.uk&amp;utm_medium=about-bio">Microserve</a>, part-time freelancer, former Developer at the <a href="https://www.drupal.org/association">Drupal Association</a>, open source contributor and advocate, mentor and conference speaker.</p> <p>Im a Senior Developer at <a href="https://microserve.io?utm_source=oliverdavies.uk&amp;utm_medium=about-bio">Microserve</a>, part-time freelancer, former Developer at the <a href="https://www.drupal.org/association">Drupal Association</a>, open source contributor and advocate, mentor and conference speaker.</p>
<p>I primarily work with Drupal and am an <a href="https://certification.acquia.com/user/1647756">Acquia certified Drupal Grand Master</a>, but also use Symfony, Laravel and Sculpin, and have some experience working with JavaScript frameworks including Vue.js and Angular.</p> <p>I primarily work with Drupal and am an <a href="https://certification.acquia.com/user/1647756">Acquia certified Drupal Grand Master</a>, but also use Symfony, Laravel and Sculpin, and have some experience working with JavaScript frameworks including Vue.js and Angular.</p>
<p>Im a webmaster and documentation maintainer for <a href="https://www.drupal.org">Drupal.org</a>, and a provisional member of the <a href="https://www.drupal.org/security-team">Drupal Security team</a>. <a href="/talks">I speak at various user groups and conferences</a>, and co-organise the <a href="https://www.drupalbristol.org.uk">Drupal Bristol user group</a>, <a href="https://phpsw.uk">PHPSW</a> and <a href="https://www.drupalcampbristol.co.uk">DrupalCamp Bristol</a>.</p> <p>Im a webmaster and documentation maintainer for <a href="https://www.drupal.org">Drupal.org</a>, and a provisional member of the <a href="https://www.drupal.org/security-team">Drupal Security team</a>. <a href="/talks">I speak at various user groups and conferences</a>, and co-organise the <a href="https://www.drupalbristol.org.uk">Drupal Bristol user group</a>, <a href="https://phpsw.uk">PHPSW</a> and <a href="https://www.drupalcampbristol.co.uk">DrupalCamp Bristol</a>.</p>
<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> <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>
<h2>Certifications</h2>
<ul>
<li>Acquia certified Grand Master - Drupal 8</li>
<li>Acquia certified Developer - Drupal 8</li>
<li>Acquia certified Back End Specialist - Drupal 8</li>
<li>Acquia certified Front End Specialist - Drupal 8</li>
<li>Acquia certified Cloud Pro</li>
</ul>
</div> </div>
{% include 'about/availability' %} {% include 'about/availability' %}
</div> </div>
<div class="w-full md:w-2/5 lg:w-1/3 px-6">
{% include 'about/badges' %}
</div>
</div> </div>
{% endblock %} {% endblock %}