From ef58c7a82e8896926ba3fc496364c8769898435a Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 15 Jan 2019 21:45:34 +0000 Subject: [PATCH] Changed favourite to promoted --- source/_posts/2016-07-15-building-gmail-filters-in-php.md | 2 +- ...7-11-07-writing-drupal-module-test-driven-development-tdd.md | 2 +- .../_posts/2018-07-19-running-phpunit-tests-docksal-phpstorm.md | 2 +- .../_posts/2018-08-21-experimenting-with-events-in-drupal-8.md | 2 +- ...bugging-drupal-commerce-promotions-illiminate-collections.md | 2 +- .../2018-11-20-rebuilding-bartik-with-vuejs-tailwind-css.md | 2 +- source/articles/index.html.twig | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_posts/2016-07-15-building-gmail-filters-in-php.md b/source/_posts/2016-07-15-building-gmail-filters-in-php.md index aa98d8fd..1d99113f 100644 --- a/source/_posts/2016-07-15-building-gmail-filters-in-php.md +++ b/source/_posts/2016-07-15-building-gmail-filters-in-php.md @@ -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. diff --git a/source/_posts/2017-11-07-writing-drupal-module-test-driven-development-tdd.md b/source/_posts/2017-11-07-writing-drupal-module-test-driven-development-tdd.md index a441fe81..1ff7e669 100644 --- a/source/_posts/2017-11-07-writing-drupal-module-test-driven-development-tdd.md +++ b/source/_posts/2017-11-07-writing-drupal-module-test-driven-development-tdd.md @@ -8,7 +8,7 @@ meta: width: 2560 height: 1440 type: image/png -favourite: true +promoted: true ---

![](/images/blog/drupalcamp-dublin.jpg)

diff --git a/source/_posts/2018-07-19-running-phpunit-tests-docksal-phpstorm.md b/source/_posts/2018-07-19-running-phpunit-tests-docksal-phpstorm.md index 5a8a5986..6bd3a8ce 100644 --- a/source/_posts/2018-07-19-running-phpunit-tests-docksal-phpstorm.md +++ b/source/_posts/2018-07-19-running-phpunit-tests-docksal-phpstorm.md @@ -8,7 +8,7 @@ tags: - phpstorm - phpunit - testing -favourite: true +promoted: true --- I’ve 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. diff --git a/source/_posts/2018-08-21-experimenting-with-events-in-drupal-8.md b/source/_posts/2018-08-21-experimenting-with-events-in-drupal-8.md index 04f2891c..9a6e0900 100644 --- a/source/_posts/2018-08-21-experimenting-with-events-in-drupal-8.md +++ b/source/_posts/2018-08-21-experimenting-with-events-in-drupal-8.md @@ -7,7 +7,7 @@ tags: - drupal-planet - php - symfony -favourite: true +promoted: true --- I’ve been experimenting with moving some code to Drupal 8, and I’m quite intrigued by a different way that I’ve tried to structure it - using event subscribers, building on some of the takeaways from Drupal Dev Days. diff --git a/source/_posts/2018-10-24-debugging-drupal-commerce-promotions-illiminate-collections.md b/source/_posts/2018-10-24-debugging-drupal-commerce-promotions-illiminate-collections.md index 6ac16d37..4fcf5591 100644 --- a/source/_posts/2018-10-24-debugging-drupal-commerce-promotions-illiminate-collections.md +++ b/source/_posts/2018-10-24-debugging-drupal-commerce-promotions-illiminate-collections.md @@ -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. diff --git a/source/_posts/2018-11-20-rebuilding-bartik-with-vuejs-tailwind-css.md b/source/_posts/2018-11-20-rebuilding-bartik-with-vuejs-tailwind-css.md index 05cbd97c..eab5e8be 100644 --- a/source/_posts/2018-11-20-rebuilding-bartik-with-vuejs-tailwind-css.md +++ b/source/_posts/2018-11-20-rebuilding-bartik-with-vuejs-tailwind-css.md @@ -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]. diff --git a/source/articles/index.html.twig b/source/articles/index.html.twig index 083b0094..1ffe8e17 100644 --- a/source/articles/index.html.twig +++ b/source/articles/index.html.twig @@ -4,7 +4,7 @@ title: Articles use: [posts] ---
- {% for post in data.posts if post.favourite %} + {% for post in data.posts if post.promoted %}
{% include 'blog/post-summary' %}