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: tags:
- php - php
- gmail - 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. 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 width: 2560
height: 1440 height: 1440
type: image/png type: image/png
favourite: true promoted: true
--- ---
<p class="text-center" markdown="1">![](/images/blog/drupalcamp-dublin.jpg)</p> <p class="text-center" markdown="1">![](/images/blog/drupalcamp-dublin.jpg)</p>

View file

@ -8,7 +8,7 @@ tags:
- phpstorm - phpstorm
- phpunit - phpunit
- testing - 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. 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 - drupal-planet
- php - php
- symfony - 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. 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 - illuminate-collections
- laravel-collections - laravel-collections
- php - 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. 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 - tweet
- vuejs - vuejs
has_tweets: true 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]. 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] use: [posts]
--- ---
<div class="mb-10 spaced-y-10"> <div class="mb-10 spaced-y-10">
{% for post in data.posts if post.favourite %} {% for post in data.posts if post.promoted %}
<div> <div>
{% include 'blog/post-summary' %} {% include 'blog/post-summary' %}
</div> </div>