Changed favourite to promoted

This commit is contained in:
Oliver Davies 2019-01-15 21:45:34 +00:00
parent 0edf727eb5
commit ef58c7a82e
7 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@ excerpt: How to use PHP to generate and export filters for Gmail.
tags:
- php
- gmail
favourite: true
promoted: true
---
Earlier this week I wrote a small PHP library called [GmailFilterBuilder][0] that allows you to write Gmail filters in PHP and export them to XML.

View file

@ -8,7 +8,7 @@ meta:
width: 2560
height: 1440
type: image/png
favourite: true
promoted: true
---
<p class="text-center" markdown="1">![](/images/blog/drupalcamp-dublin.jpg)</p>

View file

@ -8,7 +8,7 @@ tags:
- phpstorm
- phpunit
- testing
favourite: true
promoted: true
---
Ive recently re-watched [A Clean PHPUnit Workflow in PHPStorm][0] on [Laracasts][1], where Jeffrey configures PhpStorm to run tests from within the IDE. With Drupal 8 using PHPUnit too, I decided to try and do the same with a local D8 site.

View file

@ -7,7 +7,7 @@ tags:
- drupal-planet
- php
- symfony
favourite: true
promoted: true
---
Ive been experimenting with moving some code to Drupal 8, and Im quite intrigued by a different way that Ive tried to structure it - using event subscribers, building on some of the takeaways from Drupal Dev Days.

View file

@ -9,7 +9,7 @@ tags:
- illuminate-collections
- laravel-collections
- php
favourite: true
promoted: true
---
Today I found another instance where I decided to use [Illuminate Collections][0] within my Drupal 8 code; whilst I was debugging an issue where a [Drupal Commerce][1] promotion was incorrectly being applied to an order.

View file

@ -7,7 +7,7 @@ tags:
- tweet
- vuejs
has_tweets: true
favourite: true
promoted: true
---
Earlier this week, I built a clone of [Drupal][0]s default theme, Bartik, with [Vue.js][1] and [Tailwind CSS][2]. You can [view the code on GitHub][3] and the [site itself on Netlify][4].

View file

@ -4,7 +4,7 @@ title: Articles
use: [posts]
---
<div class="mb-10 spaced-y-10">
{% for post in data.posts if post.favourite %}
{% for post in data.posts if post.promoted %}
<div>
{% include 'blog/post-summary' %}
</div>