diff --git a/.nojekyll b/.nojekyll
deleted file mode 100644
index e69de29b..00000000
diff --git a/README.md b/README.md
index da647e2b..0fb17ac1 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-opdavies.github.io
-==================
+oliverdavies.co.uk-source
+=========================
The source code for [my personal website and blog](http://www.oliverdavies.co.uk), built with [Sculpin](http://sculpin.io).
-Please [create an issue](https://github.com/opdavies/opdavies.github.io/issues) to log any errors or issues with the site or make a suggestion. Pull requests are welcome for improvements to posts and tutorials.
\ No newline at end of file
+Please [create an issue](https://github.com/opdavies/opdavies.github.io/issues) to log any errors or issues with the site or make a suggestion. Pull requests are welcome for improvements to posts and tutorials.
diff --git a/app/config/sculpin_kernel.yml b/app/config/sculpin_kernel.yml
index bea35c36..48422e29 100644
--- a/app/config/sculpin_kernel.yml
+++ b/app/config/sculpin_kernel.yml
@@ -6,9 +6,6 @@ sculpin:
- '**/config.rb'
- '**/Gemfile*'
sculpin_content_types:
- clients:
- permalink: clients/:slug_title/
- enabled: false
posts:
permalink: blog/:slug_title/
taxonomies:
diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml
index 52bdd2fb..04cf8a29 100644
--- a/app/config/sculpin_site.yml
+++ b/app/config/sculpin_site.yml
@@ -1,4 +1,14 @@
title: Oliver Davies
subtitle: Drupal & Linux Specialist
-description: Personal website and blog of Oliver Davies, a Drupal Developer and Systems Administrator based in the UK.
+description: Oliver Davies, Drupal Developer
url: http://localhost:8000
+author: Oliver Davies
+email: oliver@oliverdavies.co.uk
+
+twitter: http://twitter.com/opdavies
+twitter_name: opdavies
+linkedin: http://uk.linkedin.com/in/opdavies
+drupalorg: https://www.drupal.org/user/381388
+drupalorg_nice: https://www.drupal.org/u/opdavies
+github: http://github.com/opdavies
+irc: opdavies
diff --git a/deploy.sh b/deploy.sh
deleted file mode 100755
index 8d04a2af..00000000
--- a/deploy.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-set -x
-
-ENV='prod'
-REPO='git@github.com:opdavies/opdavies.github.io.git'
-BRANCH='master'
-BUILD_DIR='./gh-pages-deployment/'
-
-rm -rf ./output_${ENV}
-sculpin generate --env=${ENV}
-
-LOG=$(git log --oneline -n 1)
-
-rm -rf ${BUILD_DIR}
-git clone ${REPO} ${BUILD_DIR}
-
-pushd ${BUILD_DIR}
-git checkout -B ${BRANCH}
-rsync --quiet --archive --filter="P .git*" --delete ../output_${ENV}/ ./
-git add -A .
-git commit -m "${LOG}"
-git push origin ${BRANCH} --force
-popd
\ No newline at end of file
diff --git a/source/404.html.twig b/source/404.html.twig
deleted file mode 100644
index b4f147ec..00000000
--- a/source/404.html.twig
+++ /dev/null
@@ -1,14 +0,0 @@
----
-layout: default
-title: Page Not Found
-permalink: /404.html
----
-{% block content_wrapper %}
-
- {% block content %}
-
Page Not Found
- {% endblock %}
-
{# .col.md-12 #}
-{% endblock %}
-
-{% block sidebar %}{% endblock %}
\ No newline at end of file
diff --git a/source/404.md b/source/404.md
new file mode 100644
index 00000000..df0306cd
--- /dev/null
+++ b/source/404.md
@@ -0,0 +1,8 @@
+---
+layout: default
+title: Page Not Found
+permalink: /404.html
+---
+# Page Not Found
+
+Please [contact me](/contact) and let me know.
\ No newline at end of file
diff --git a/source/CNAME b/source/CNAME
deleted file mode 100644
index 160bfed2..00000000
--- a/source/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-www.oliverdavies.co.uk
diff --git a/source/_examples/post.md b/source/_examples/post.md
index 6e8e0687..5f60f140 100644
--- a/source/_examples/post.md
+++ b/source/_examples/post.md
@@ -2,8 +2,6 @@
title:
description:
nav: blog
-use:
- - posts
tags:
-
---
\ No newline at end of file
diff --git a/source/_posts/2010-04-05-style-drupal-6-lists.md b/source/_posts/2010-04-05-style-drupal-6-lists.md
index e18cfbb8..970e115c 100644
--- a/source/_posts/2010-04-05-style-drupal-6-lists.md
+++ b/source/_posts/2010-04-05-style-drupal-6-lists.md
@@ -1,14 +1,12 @@
---
title: Style Drupal 6's Taxonomy Lists with PHP, CSS and jQuery
nav: blog
-use:
- - posts
slug: style-drupal-6s-taxonomy-lists-php-css-and-jquery
tags:
- - Taxonomy
- - Drupal Planet
- - Drupal 6
- - Drupal Theming
+ - drupal-6
+ - drupal-planet
+ - drupal-theming
+ - taxonomy
---
Whilst developing this, and other Drupal websites for clients, I decided that I wanted to categorise content using the taxonomy system. However, I wasn't happy with the way that Drupal displayed the terms lists by default, and I started comparing this to other websites that I look at.
diff --git a/source/_posts/2010-04-28-imagecrop.md b/source/_posts/2010-04-28-imagecrop.md
index 913c9d6f..1dac7809 100644
--- a/source/_posts/2010-04-28-imagecrop.md
+++ b/source/_posts/2010-04-28-imagecrop.md
@@ -1,15 +1,14 @@
---
title: Using ImageCache and ImageCrop for my Portfolio
nav: blog
-use:
- - posts
slug: using-imagecache-and-imagecrop-my-portfolio
tags:
- - Drupal 6
- - CCK
- - ImageCache
- - ImageField
- - ImageCrop
+ - drupal
+ - drupal-6
+ - cck
+ - imagecache
+ - imagecrop
+ - imagefield
---
Whilst working on my own portfolio/testimonial website, I decided to have a portfolio page displaying the name of each site and a thumbnail image. For this Blog post, I'll be using a site called [Popcorn Strips](http://popcornstrips.com) which I built for a friend earlier this year as an example.
diff --git a/source/_posts/2010-05-06-conditional-email-address-webform.md b/source/_posts/2010-05-06-conditional-email-address-webform.md
index 4c5f3a94..e61d4d77 100644
--- a/source/_posts/2010-05-06-conditional-email-address-webform.md
+++ b/source/_posts/2010-05-06-conditional-email-address-webform.md
@@ -1,14 +1,12 @@
---
title: Conditional Email Addresses in a Webform
nav: blog
-use:
- - posts
slug: conditional-email-addresses-webform
tags:
- - Drupal Planet
- - Drupal 6
- - Conditional Email
- - Webform
+ - drupal-planet
+ - drupal-6
+ - conditional-email
+ - webform
---
I created a new Webform to serve as a simple Contact form, but left the main configuration until after I created the form components. I added 'Name', 'Email', 'Subject' and 'Message' fields, as well as a 'Category' select list. Below 'Options', I entered each of my desired options in the following format:
diff --git a/source/_posts/2010-05-10-zenophile.md b/source/_posts/2010-05-10-zenophile.md
index 90be67cd..9936d631 100644
--- a/source/_posts/2010-05-10-zenophile.md
+++ b/source/_posts/2010-05-10-zenophile.md
@@ -1,15 +1,13 @@
---
title: Quickly Create Zen Subthemes Using Zenophile
nav: blog
-use:
- - posts
tags:
- - Drupal Planet
- - Drupal 6
- - Drupal Modules
- - Drupal Theming
- - Zen
- - Zenophile
+ - drupal-planet
+ - drupal-6
+ - drupal-modules
+ - drupal-theming
+ - zen
+ - zenophile
---
If you use the [Zen](http://drupal.org/project/zen) theme, then you should also be using the [Zenophile](http://drupal.org/project/zenophile) module!
diff --git a/source/_posts/2010-05-25-fancy-slide.md b/source/_posts/2010-05-25-fancy-slide.md
index 1247eed2..f5117a86 100644
--- a/source/_posts/2010-05-25-fancy-slide.md
+++ b/source/_posts/2010-05-25-fancy-slide.md
@@ -1,14 +1,13 @@
---
title: Create a Slideshow of Multiple Images Using Fancy Slide
nav: blog
-use:
- - posts
slug: create-slideshow-multiple-images-using-fancy-slide
tags:
- - Drupal Planet
- - Drupal 6
- - Fancy Slide
- - Slideshow
+ - drupal-planet
+ - drupal
+ - drupal-6
+ - fancy-slide
+ - slideshow
---
Whilst updating my About page, I thought about creating a slideshow of several images instead of just the one static image. When I looking on Drupal.org, the only slideshow modules were to create slideshows of images that were attached to different nodes - not multiple images attached to one node. Then, I found the [Fancy Slide](http://drupal.org/project/fancy_slide) module. It's a jQuery Slideshow module with features that include integration with the [CCK](http://drupal.org/project/cck), [ImageCache](http://drupal.org/project/imagecache) and [Nodequeue](http://drupal.org/project/nodequeue) modules.
diff --git a/source/_posts/2010-05-29-imagefield-import-module.md b/source/_posts/2010-05-29-imagefield-import-module.md
index 9319a95b..abb4215c 100644
--- a/source/_posts/2010-05-29-imagefield-import-module.md
+++ b/source/_posts/2010-05-29-imagefield-import-module.md
@@ -1,16 +1,15 @@
---
title: Quickly Import Multiples Images Using the Imagefield_Import Module
nav: blog
-use:
- - posts
slug: quickly-import-multiples-images-using-imagefieldimport-module
tags:
- - Drupal Planet
- - ImageField Import
- - Drupal 6
- - Photo Gallery
- - CCK
- - ImageField
+ - drupal-planet
+ - imagefield-import
+ - drupal
+ - drupal-6
+ - photo-gallery
+ - cck
+ - imagefield
---
**Thanks to Bob at [Mustardseed Media](http://mustardseedmedia.com) for [tweeting](http://twitter.com/mustardseedinc/status/14713096905) about this module. It's undoubtedly saved me hours of work today alone!**
diff --git a/source/_posts/2010-06-02-improve-jpg-quality.md b/source/_posts/2010-06-02-improve-jpg-quality.md
index 20baa43f..e593390a 100644
--- a/source/_posts/2010-06-02-improve-jpg-quality.md
+++ b/source/_posts/2010-06-02-improve-jpg-quality.md
@@ -1,13 +1,11 @@
---
title: Improve JPG Quality in Imagecache and ImageAPI
nav: blog
-use:
- - posts
slug: improve-jpg-quality-imagecache-and-imageapi
tags:
- - Drupal Planet
- - Drupal 6
- - ImageCache
+ - drupal-planet
+ - drupal-6
+ - imagecache
---
Whilst uploading images for my Projects and Testimonials sections, I noticed that the Imagecache-scaled images weren't as high a quality the originals on my Mac. I did some searching online and found out that, by default, Drupal resamples uploaded jpgs to 75% of their original quality.
diff --git a/source/_posts/2010-06-23-social-icons-block.md b/source/_posts/2010-06-23-social-icons-block.md
index c06542ee..20da178e 100644
--- a/source/_posts/2010-06-23-social-icons-block.md
+++ b/source/_posts/2010-06-23-social-icons-block.md
@@ -1,14 +1,13 @@
---
title: Create a Block of Social Media Icons using CCK, Views and Nodequeue
nav: blog
-use:
- - posts
slug: create-block-social-media-icons-using-cck-views-and-nodequeue
tags:
- - Drupal Planet
- - Drupal 6
- - Views
- - Nodequeue
+ - drupal-planet
+ - drupal-6
+ - drupal
+ - views
+ - nodequeue
- oliverdavies.co.uk
---
I recently decided that I wanted to have a block displayed in a sidebar on my site containing icons and links to my social media profiles - [Twitter](http://twitter.com/opdavies), [Facebook](http://facebook.com/opdavies) etc. I tried the [Follow](http://drupal.org/project/follow) module, but it lacked the option to add extra networks such my [Drupal.org](http://drupal.org/user/381388) account, and my [RSS feed](http://oliverdavies.co.uk/rss.xml). I started to create my own version, and then found [this Blog post](http://www.hankpalan.com/blog/drupal-themes/add-your-social-connections-drupal-icons) by Hank Palan.
diff --git a/source/_posts/2010-06-25-useful-drupal-6-modules.md b/source/_posts/2010-06-25-useful-drupal-6-modules.md
index 96c6a74b..63fae048 100644
--- a/source/_posts/2010-06-25-useful-drupal-6-modules.md
+++ b/source/_posts/2010-06-25-useful-drupal-6-modules.md
@@ -1,13 +1,11 @@
---
title: 10 Useful Drupal 6 Modules
nav: blog
-use:
- - posts
tags:
- - Drupal Planet
- - Drupal 6
- - Modules
- - Drupal Modules
+ - drupal-planet
+ - drupal-6
+ - drupal
+ - drupal-modules
---
Aside from the obvious candidates such as Views, CCK etc, here are a list of 10 contributed modules that I currently use on each Drupal project.
diff --git a/source/_posts/2010-06-28-flickr-photo-gallery.md b/source/_posts/2010-06-28-flickr-photo-gallery.md
index a970b048..2ffd85f0 100644
--- a/source/_posts/2010-06-28-flickr-photo-gallery.md
+++ b/source/_posts/2010-06-28-flickr-photo-gallery.md
@@ -1,20 +1,18 @@
---
title: Create a Flickr Photo Gallery Using Feeds, CCK and Views
nav: blog
-use:
- - posts
slug: create-flickr-photo-gallery-using-feeds-cck-and-views
tags:
- - Drupal Planet
- - Drupal 6
- - Photo Gallery
- - Views
- - CCK
- - ImageCache
- - Feeds
- - FileField
- - Flickr
- - ImageField
+ - drupal-planet
+ - drupal-6
+ - photo-gallery
+ - views
+ - cck
+ - imagecache
+ - feeds
+ - filefield
+ - flickr
+ - imagefield
---
In this tutorial, I'll show you how to create a photo gallery which uses photos imported from [Flickr](http://www.flickr.com).
diff --git a/source/_posts/2010-07-01-change-content-type-sql.md b/source/_posts/2010-07-01-change-content-type-sql.md
index cce4e9c9..b5fe7395 100644
--- a/source/_posts/2010-07-01-change-content-type-sql.md
+++ b/source/_posts/2010-07-01-change-content-type-sql.md
@@ -1,16 +1,15 @@
---
title: Change the Content Type of Multiple Nodes Using SQL
nav: blog
-use:
- - posts
slug: change-content-type-multiple-nodes-using-sql
tags:
- - Drupal Planet
- - Drupal 6
- - SQL
- - Sequel Pro
- - Database
- - Content Types
+ - drupal-planet
+ - drupal-6
+ - drupal
+ - sql
+ - sequel-pro
+ - database
+ - content-types
---
In this post, I will be changing values within my Drupal 6 site's database to quickly change the content type of multiple nodes. I will be using a test development site with the core Blog module installed, and converting Blog posts to a custom content type called 'News article'.
diff --git a/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md b/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md
index 5173bb41..7c49f223 100644
--- a/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md
+++ b/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md
@@ -1,15 +1,13 @@
---
title: Create Virtual Hosts on Mac OS X Using VirtualHostX
nav: blog
-use:
- - posts
slug: create-virtual-hosts-mac-os-x-using-virtualhostx
tags:
- - Drupal Planet
- - Drupal 6
- - MAMP
- - Virtual Hosts
- - VirtualHostX
+ - drupal-planet
+ - drupal-6
+ - mamp
+ - virtual-hosts
+ - virtualhostx
---
This isn't a Drupal related topic per se, but it is a walk-through of one of the applications that I use whilst doing Drupal development work. I assume, like most Mac OS X users, I use [MAMP](http://www.mamp.info/en/index.html) to run Apache, MySQL and PHP locally whilst developing. I also use virtual hosts in Apache to create local .dev domains which are as close as possible to the actual live domains. For example, if I was developing a site called mysite.com, my local development version would be mysite.dev.
diff --git a/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md b/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md
index 76fe1a81..d38f0e74 100644
--- a/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md
+++ b/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md
@@ -1,16 +1,14 @@
---
title: Add a Taxonomy Term to Multiple Nodes Using SQL
nav: blog
-use:
- - posts
slug: add-taxonomy-term-multiple-nodes-using-sql
tags:
- - Taxonomy
- - Drupal Planet
- - Drupal 6
- - SQL
- - Sequel Pro
- - Database
+ - taxonomy
+ - drupal-planet
+ - drupal-6
+ - sql
+ - sequal-pro
+ - database
---
**Update:** This can also be done using the [Views Bulk Operations](http://drupal.org/project/views_bulk_operations) module.
diff --git a/source/_posts/2010-07-12-teleport-module.md b/source/_posts/2010-07-12-teleport-module.md
index 109531c4..8dc42406 100644
--- a/source/_posts/2010-07-12-teleport-module.md
+++ b/source/_posts/2010-07-12-teleport-module.md
@@ -1,15 +1,12 @@
---
title: Review of the Teleport Module
nav: blog
-use:
- - posts
slug: review-teleport-module
tags:
- - Drupal Planet
- - Drupal 6
- - Modules
- - Drupal Modules
- - Teleport
+ - drupal-planet
+ - drupal-6
+ - drupal-modules
+ - teleport
---
As a heavily-reliant [Quicksilver](http://en.wikipedia.org/wiki/Quicksilver_%28software%29) user on my MacBook Pro, I was glad when I found the [Teleport](http://drupal.org/project/teleport) module for [Drupal](http://drupal.org) *(due to Elliott Rothman's [tweet](http://twitter.com/elliotttt/status/18044234238))*.
diff --git a/source/_posts/2010-08-10-adminhover-module.md b/source/_posts/2010-08-10-adminhover-module.md
index db3486be..61373801 100644
--- a/source/_posts/2010-08-10-adminhover-module.md
+++ b/source/_posts/2010-08-10-adminhover-module.md
@@ -1,16 +1,13 @@
---
title: Review of the Admin:hover Module
nav: blog
-use:
- - posts
slug: review-adminhover-module
tags:
- - Drupal Planet
- - Drupal 6
- - Modules
- - Drupal Modules
- - Admin:hover
- - Administration
+ - drupal-planet
+ - drupal-6
+ - drupal-modules
+ - admin:hover
+ - administration
---
Sorry for the lack of Blog posts lately, but [my new job](http://horseandcountry.tv) that I started a few weeks ago has certainly been keeping me busy! I've got a few more posts that I'm preparing content for, and I'll hopefully be back into my weekly-post routine before too long!
diff --git a/source/_posts/2010-08-11-better-photo-gallery-1.md b/source/_posts/2010-08-11-better-photo-gallery-1.md
index 83d4302d..16964eff 100644
--- a/source/_posts/2010-08-11-better-photo-gallery-1.md
+++ b/source/_posts/2010-08-11-better-photo-gallery-1.md
@@ -1,19 +1,17 @@
---
title: Create a Better Photo Gallery in Drupal - Part 1
nav: blog
-use:
- - posts
slug: create-better-photo-gallery-drupal-part-1
tags:
- - Drupal Planet
- - Drupal 6
- - Photo Gallery
- - SQL
- - Views
- - Sequel Pro
- - CCK
- - Views Attach
- - Drupal
+ - drupal-planet
+ - drupal-6
+ - photo-gallery
+ - sql
+ - views
+ - sequel-pro
+ - cck
+ - views-attach
+ - drupal
---
Recently, I converted a client's static HTML website, along with their Coppermine Photo Gallery, into a Drupal-powered website.
diff --git a/source/_posts/2010-08-17-better-photo-gallery-2.md b/source/_posts/2010-08-17-better-photo-gallery-2.md
index 9106a1de..13a5377a 100644
--- a/source/_posts/2010-08-17-better-photo-gallery-2.md
+++ b/source/_posts/2010-08-17-better-photo-gallery-2.md
@@ -1,16 +1,13 @@
---
title: Create a Better Photo Gallery in Drupal - Part 2
nav: blog
-use:
- - posts
slug: create-better-photo-gallery-drupal-part-2
tags:
- - Drupal Planet
- - Drupal 6
- - Photo Gallery
- - SQL
- - Sequel Pro
- - UNIX Timestamp
+ - drupal-planet
+ - drupal-6
+ - photo-gallery
+ - sql
+ - sequel-pro
---
At the end of my last post, I'd finished creating the first part of the new photo gallery, but I wanted to change the dates of the published photos to reflect the ones on the client's original website.
diff --git a/source/_posts/2010-08-20-image-caption-module.md b/source/_posts/2010-08-20-image-caption-module.md
index ef34de20..d201b45e 100644
--- a/source/_posts/2010-08-20-image-caption-module.md
+++ b/source/_posts/2010-08-20-image-caption-module.md
@@ -1,15 +1,13 @@
---
title: Review of the Image Caption Module
nav: blog
-use:
- - posts
slug: review-image-caption-module
tags:
- - Drupal Planet
- - Drupal 6
- - Modules
- - ImageField
- - Image Caption
+ - drupal-planet
+ - drupal
+ - drupal-6
+ - imagefield
+ - image-caption
---
Up until as recent as last week, whenever I added an image into one of my Blog posts, I was manually adding the caption below each image and styling it accordingly. That was until I installed the [Image Caption](http://drupal.org/project/image_caption) module.
diff --git a/source/_posts/2010-09-26-south-wales-drupal-user-group.md b/source/_posts/2010-09-26-south-wales-drupal-user-group.md
index ea72b7b4..856f292b 100644
--- a/source/_posts/2010-09-26-south-wales-drupal-user-group.md
+++ b/source/_posts/2010-09-26-south-wales-drupal-user-group.md
@@ -1,13 +1,12 @@
---
title: The Inaugural Meetup for the South Wales Drupal User Group
nav: blog
-use:
- - posts
slug: south-wales-drupal-user-group
tags:
- - Drupal
- - Drupal Planet
- - SWDUG
+ - drupal
+ - drupal-planet
+ - swdug
+ - meetups
---
If you do Drupal, and you're in the area, come and join us for the first South Wales Drupal User Group Meetup!
diff --git a/source/_posts/2010-10-10-create-apply-patches.md b/source/_posts/2010-10-10-create-apply-patches.md
index 96b8a913..74663d10 100644
--- a/source/_posts/2010-10-10-create-apply-patches.md
+++ b/source/_posts/2010-10-10-create-apply-patches.md
@@ -1,14 +1,12 @@
---
title: How to Create and Apply Patches
nav: blog
-use:
- - posts
slug: create-and-apply-patches
tags:
- - Drupal Planet
- - Drupal 6
- - Modules
- - Patch
+ - drupal-planet
+ - drupal-6
+ - modules
+ - patches
---
Earlier this year, I posted a solution to [an issue](http://drupal.org/node/753898) on the Drupal.org issue queue. Originally, I just posted the code back onto the issue, but have now created a patch that can easily be applied to any Drupal 6 installation. Here is a run-through of the process of creating and applying a patch. In this case, I made changes to the `user_pass_validate()` function that's found within `modules/user/user.pages.inc`.
diff --git a/source/_posts/2010-10-13-better-photo-gallery-2.md b/source/_posts/2010-10-13-better-photo-gallery-2.md
index fa145720..666c4caa 100644
--- a/source/_posts/2010-10-13-better-photo-gallery-2.md
+++ b/source/_posts/2010-10-13-better-photo-gallery-2.md
@@ -1,9 +1,9 @@
---
title: Create a Better Photo Gallery in Drupal - Part 3
nav: blog
-use:
- - posts
slug: create-better-photo-gallery-drupal-part-3
+tags:
+ - drupal
---
The next part of the new gallery that I want to implement is to group the galleries by their respective categories. The first step is to edit my original photo_gallery view and add an additional display.
diff --git a/source/_posts/2010-10-22-better-photo-gallery-21.md b/source/_posts/2010-10-22-better-photo-gallery-21.md
index 8ed4e704..7157241f 100644
--- a/source/_posts/2010-10-22-better-photo-gallery-21.md
+++ b/source/_posts/2010-10-22-better-photo-gallery-21.md
@@ -1,9 +1,9 @@
---
title: Create a Better Photo Gallery in Drupal - Part 2.1
nav: blog
-use:
- - posts
slug: create-better-photo-gallery-drupal-part-21
+tags:
+ - drupal
---
Today, I realised that I hadn't published the code that I used to create the total figures of galleries and photos at the top of the gallery (I said at the end of [Part 2](/blog/create-better-photo-gallery-drupal-part-2 "Create a Better Photo Gallery in Drupal - Part 2") that I'd include it in [Part 3](/blog/create-better-photo-gallery-drupal-part-3 "Create a Better Photo Gallery in Drupal - Part 3"), but I forgot). So, here it is:
diff --git a/source/_posts/2010-11-04-regular-expressions-search.md b/source/_posts/2010-11-04-regular-expressions-search.md
index ebc02945..aacf6937 100644
--- a/source/_posts/2010-11-04-regular-expressions-search.md
+++ b/source/_posts/2010-11-04-regular-expressions-search.md
@@ -1,16 +1,14 @@
---
title: Use Regular Expressions to Search and Replace in Coda or TextMate
nav: blog
-use:
- - posts
slug: use-regular-expressions-search-and-replace-coda-or-textmate
tags:
- - Taxonomy
- - Sequel Pro
- - Database
- - Coda
- - Regular Expression
- - TextMate
+ - taxonomy
+ - sequel-pro
+ - database
+ - coda
+ - regular-expression
+ - textmate
---
As in [the original post](/blog/add-taxonomy-term-multiple-nodes-using-sql "Quickly adding a taxonomy term to multiple nodes using SQL"), I'd generated a list of node ID values, and needed to add structure the SQL update statment formatted in a certain way. However, I changed my inital query slightly to out put the same nid value twice.
diff --git a/source/_posts/2011-02-14-typekit-fonts.md b/source/_posts/2011-02-14-typekit-fonts.md
index e6c4bb24..0e4ee473 100644
--- a/source/_posts/2011-02-14-typekit-fonts.md
+++ b/source/_posts/2011-02-14-typekit-fonts.md
@@ -1,13 +1,11 @@
---
title: Easily Embed TypeKit Fonts into your Drupal Website
nav: blog
-use:
- - posts
slug: easily-embed-typekit-fonts-your-drupal-website
tags:
- - Drupal Planet
- - Drupal 6
- - TypeKit
+ - drupal-planet
+ - drupal-6
+ - typekit
---
To begin with, you will need to [register for a TypeKit account](https://typekit.com/plans) - there is a free version if you just want to try it out.
diff --git a/source/_posts/2011-03-15-number-of-facebook-fans.md b/source/_posts/2011-03-15-number-of-facebook-fans.md
index 18c80400..fff3ab73 100644
--- a/source/_posts/2011-03-15-number-of-facebook-fans.md
+++ b/source/_posts/2011-03-15-number-of-facebook-fans.md
@@ -1,9 +1,9 @@
---
title: Display the Number of Facebook fans in PHP
nav: blog
-use:
- - posts
slug: display-number-facebook-fans-php
+tags:
+ - php
---
Replace the $page_id value with your Page ID number (unless you want to show the number of fans for this site).You can find your Page ID by logging into your Facebook account, going to 'Adverts and Pages', clicking 'Edit page', and looking at the URL.
diff --git a/source/_posts/2011-03-31-proctors.md b/source/_posts/2011-03-31-proctors.md
index 6c05b99c..234b7d3b 100644
--- a/source/_posts/2011-03-31-proctors.md
+++ b/source/_posts/2011-03-31-proctors.md
@@ -1,11 +1,9 @@
---
title: Proctor & Stevenson
nav: blog
-use:
- - posts
slug: proctor-stevenson
tags:
- - Personal
+ - personal
---
2 weeks ago, I handed in my notice of resignation to [Horse & Country TV](http://horseandcountry.tv)because I've been offered a new role at [Proctor & Stevenson](http://proctors.co.uk) - a Marketing Design and Communications agency in Bristol.
diff --git a/source/_posts/2011-05-20-proctors-drupal-meetup.md b/source/_posts/2011-05-20-proctors-drupal-meetup.md
index e7f81604..7db3936c 100644
--- a/source/_posts/2011-05-20-proctors-drupal-meetup.md
+++ b/source/_posts/2011-05-20-proctors-drupal-meetup.md
@@ -1,9 +1,10 @@
---
title: Proctors Hosting the next Drupal Meetup
nav: blog
-use:
- - posts
slug: proctors-hosting-next-drupal-meetup
+tags:
+ - meetups
+ - drupal-bristol
---
My employer, [Proctor & Stevenson](http://www.proctors.co.uk), are going to be hosting the next Bristol & South West Drupal meetup on the 25th May at our offices.
diff --git a/source/_posts/2011-05-23-imagefield-import-archive.md b/source/_posts/2011-05-23-imagefield-import-archive.md
index bd333dd9..6d46c72b 100644
--- a/source/_posts/2011-05-23-imagefield-import-archive.md
+++ b/source/_posts/2011-05-23-imagefield-import-archive.md
@@ -1,12 +1,9 @@
---
title: Imagefield Import Archive
nav: blog
-use:
- - posts
tags:
- - Drupal Planet
- - ImageField Import
- - Module Development
+ - drupal-planet
+ - imagefield-import
---
I've finally uploaded my first module onto Drupal.org!
diff --git a/source/_posts/2011-08-28-multigroups-field-collections.md b/source/_posts/2011-08-28-multigroups-field-collections.md
index 472193f1..23e20485 100644
--- a/source/_posts/2011-08-28-multigroups-field-collections.md
+++ b/source/_posts/2011-08-28-multigroups-field-collections.md
@@ -1,17 +1,15 @@
---
title: Create Multigroups in Drupal 7 using Field Collections
nav: blog
-use:
- - posts
slug: create-multigroups-drupal-7-using-field-collections
tags:
- - Drupal 7
- - Drupal Planet
- - CCK
- - Fields
- - Field Collection
- - Entity API
- - Multigroup
+ - drupal-7
+ - drupal-planet
+ - cck
+ - fields
+ - field-collection
+ - entity-api
+ - multigroup
---
One of my favourite things lately in Drupal 6 has been CCK 3, and more specifically, the Content Multigroups sub-module. Basically this allows you to create a fieldset of various CCK fields, and then repeat that multiple times. For example, I use it on this site whist creating invoices for clients. I have a fieldset called 'Line Item', containing 'Description', 'Quantity' and 'Price' fields. With a standard fieldset, I could only have one instance of each field - however, using a multigroup, I can create multiple groups of line items which I then use within the invoice.
diff --git a/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md b/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md
index e247030e..63e2a54e 100644
--- a/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md
+++ b/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md
@@ -1,13 +1,11 @@
---
title: How to Install and Configure Subversion (SVN) Server on Ubuntu
nav: blog
-use:
- - posts
slug: install-and-configure-subversion-svn-server-ubuntu
tags:
- - SVN
- - Ubuntu
- - Version control
+ - svn
+ - ubuntu
+ - version-control
---
Recently, I needed to set up a Subversion (SVN) server on a Ubuntu Linux server. This post is going to outline the steps taken, and the commands used, to install and configure the service.
diff --git a/source/_posts/2012-01-04-upgraded-drupal-7.md b/source/_posts/2012-01-04-upgraded-drupal-7.md
index 96248dcc..173eb3c0 100644
--- a/source/_posts/2012-01-04-upgraded-drupal-7.md
+++ b/source/_posts/2012-01-04-upgraded-drupal-7.md
@@ -1,8 +1,6 @@
---
title: Site Upgraded to Drupal 7
nav: blog
-use:
- - posts
slug: site-upgraded-drupal-7
---
As the vast majority of the Drupal websites that I currently work on are built on Drupal 7, I thought that it was time that I upgraded this site. Following the [core upgrade process](http://drupal.org/node/570162) and the [CCK migration process](http://drupal.org/node/1144136), everything was upgraded smoothly without any issues.
diff --git a/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md b/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md
index dc2bcd20..7c6e1b97 100644
--- a/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md
+++ b/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md
@@ -1,12 +1,10 @@
---
title: How to use Authorized Keys to Create a Passwordless SSH Connection
nav: blog
-use:
- - posts
slug: use-authorized-keys-create-passwordless-ssh-connection
tags:
- - Linux
- - SSH
+ - linux
+ - ssh
---
If you're accessing Linux servers or automating tasks between servers, rather than having to enter your user password every time, you can also use SSH public key authentication. This is a simple process that involves creating a local key and storing it within the *authorized_keys* file on the remote server.
diff --git a/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md b/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md
index df96ddc8..a35152e5 100644
--- a/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md
+++ b/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md
@@ -1,16 +1,14 @@
---
title: Create an Omega Subtheme with LESS CSS Preprocessor using Omega Tools and Drush
nav: blog
-use:
- - posts
slug: create-omega-subtheme-less-css-preprocessor-using-omega-tools-and-drush
tags:
- - Drupal 7
- - Omega
- - Theming
- - LESS
- - Drupal Planet
- - Drupal
+ - drupal-7
+ - omega
+ - theming
+ - less
+ - drupal-planet
+ - drupal
---
In this tutorial I'll be showing how to create an [Omega](http://drupal.org/project/omega) subtheme using the [Omega Tools](http://drupal.org/project/omega_tools) module, and have it working with the [LESS CSS preprocessor](http://lesscss.org).
diff --git a/source/_posts/2012-04-17-nagios-centos.md b/source/_posts/2012-04-17-nagios-centos.md
index 0980b72c..41b92bba 100644
--- a/source/_posts/2012-04-17-nagios-centos.md
+++ b/source/_posts/2012-04-17-nagios-centos.md
@@ -1,13 +1,11 @@
---
title: Installing Nagios on CentOS
nav: blog
-use:
- - posts
slug: installing-nagios-centos
tags:
- - Nagios
- - CentOS
- - Linux
+ - nagios
+ - centos
+ - linux
---
A great post details that details the steps needed to install [Nagios](http://nagios.org) - a popular open source system and network monitoring software application - on CentOS.
diff --git a/source/_posts/2012-04-19-custom-theme-templates.md b/source/_posts/2012-04-19-custom-theme-templates.md
index eac416c6..e902205f 100644
--- a/source/_posts/2012-04-19-custom-theme-templates.md
+++ b/source/_posts/2012-04-19-custom-theme-templates.md
@@ -1,13 +1,12 @@
---
title: Adding Custom Theme Templates in Drupal 7
nav: blog
-use:
- - posts
description: >
Today, I had a situation where I was displaying a list of teasers for news article nodes. The article content type had several different fields assigned to it, including main and thumbnail images. In this case, I wanted to have different output and fields displayed when a teaser was displayed compared to when a complete node was displayed.
slug: adding-custom-theme-templates-drupal-7
tags:
- - Drupal Planet
+ - drupal-planet
+ - drupal
---
Today, I had a situation where I was displaying a list of teasers for news article nodes. The article content type had several different fields assigned to it, including main and thumbnail images. In this case, I wanted to have different output and fields displayed when a teaser was displayed compared to when a complete node was displayed.
diff --git a/source/_posts/2012-05-23-apache-text-files.md b/source/_posts/2012-05-23-apache-text-files.md
index 3b81c5e0..63cf41b4 100644
--- a/source/_posts/2012-05-23-apache-text-files.md
+++ b/source/_posts/2012-05-23-apache-text-files.md
@@ -1,13 +1,11 @@
---
title: Prevent Apache from displaying text files within a web browser
nav: blog
-use:
- - posts
slug: prevent-apache-displaying-text-files-within-web-browser
tags:
- - Apache
- - Code
- - Drupal
+ - apache
+ - code
+ - drupal
---
When you download [Drupal](http://drupal.org), there are several text files that are placed in the root of your installation. You don't want or need these to be visible to anyone attempting to view them in a browser - especially CHANGELOG.txt as that includes the exact version of Drupal you are running and could therefore have security implications. Rather than delete these files or change the file permissions manually for each file, I can add the following lines into my VirtualHost configuration:
diff --git a/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md b/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md
index 3a6dc980..680d254c 100644
--- a/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md
+++ b/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md
@@ -1,12 +1,10 @@
---
title: Checkout a specific revision from SVN from the command line
nav: blog
-use:
- - posts
slug: checkout-specific-revision-svn-command-line
tags:
- - SVN
- - Version control
+ - svn
+ - version-control
---
If you're checking out the repository for the first time:
diff --git a/source/_posts/2012-05-23-date-popup-custom-form.md b/source/_posts/2012-05-23-date-popup-custom-form.md
index f777e373..72843a93 100644
--- a/source/_posts/2012-05-23-date-popup-custom-form.md
+++ b/source/_posts/2012-05-23-date-popup-custom-form.md
@@ -1,17 +1,15 @@
---
title: How to add a date popup calendar onto a custom form
nav: blog
-use:
- - posts
slug: add-date-popup-calendar-custom-form
tags:
- - Forms
- - Form API
- - Date
- - Calendar
- - Drupal 7
- - Drupal Planet
- - Drupal
+ - forms
+ - form-api
+ - date
+ - calendar
+ - drupal-7
+ - drupal-planet
+ - drupal
---
First, I need to download the [Date](http://drupal.org/project/date "Date module on Drupal.org") module, and make my module dependent on date_popup by adding the following line into my module's .info file.
diff --git a/source/_posts/2012-05-23-forward-domain-mod-rewrite.md b/source/_posts/2012-05-23-forward-domain-mod-rewrite.md
index e19cedd6..8a22d477 100644
--- a/source/_posts/2012-05-23-forward-domain-mod-rewrite.md
+++ b/source/_posts/2012-05-23-forward-domain-mod-rewrite.md
@@ -1,14 +1,12 @@
---
title: Forward one domain to another using mod_rewrite and .htaccess
nav: blog
-use:
- - posts
slug: forward-one-domain-another-using-modrewrite-and-htaccess
tags:
- .htaccess
- - Code
- - Drupal
- - Apache
+ - code
+ - drupal
+ - apache
- mod_rewrite
---
Within the mod_rewrite section of your .htaccess file, add the following lines:
diff --git a/source/_posts/2012-05-23-info-file-drupal-7-theme.md b/source/_posts/2012-05-23-info-file-drupal-7-theme.md
index 4a0a9a90..7eae94b0 100644
--- a/source/_posts/2012-05-23-info-file-drupal-7-theme.md
+++ b/source/_posts/2012-05-23-info-file-drupal-7-theme.md
@@ -1,14 +1,12 @@
---
title: Writing a .info file for a Drupal 7 theme
nav: blog
-use:
- - posts
slug: writing-info-file-drupal-7-theme
tags:
- - Theming
- - Drupal Theming
- - Drupal
- - Code
+ - theming
+ - drupal-theming
+ - drupal
+ - code
---
~~~
name = My Theme
diff --git a/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md b/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md
index 808885ef..421b0fa9 100644
--- a/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md
+++ b/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md
@@ -1,15 +1,13 @@
---
title: Dividing Drupal's process and preprocess functions into separate files
nav: blog
-use:
- - posts
description: If you use a lot of process and preprocess functions within your Drupal theme, then your template.php can get very long and it can become difficult to find a certain piece of code. Following the example of the Omega theme, I've started separating my process and preprocess functions into their own files.
slug: dividing-drupals-process-and-preprocess-functions-separate-files
tags:
- - Drupal
- - Code
- - Theming
- - Preprocessing
+ - drupal
+ - code
+ - theming
+ - preprocessing
---
If you use a lot of process and preprocess functions within your Drupal theme, then your template.php can get very long and it can become difficult to find a certain piece of code. Following the example of the [Omega theme](http://drupal.org/project/omega "The Omega theme on Drupal.org"), I've started separating my process and preprocess functions into their own files. For example, mytheme_preprocess_node can be placed within a preprocess/node.inc file, and mytheme_process_page can be placed within process/page.inc.
diff --git a/source/_posts/2012-07-12-my-new-drupal-modules.md b/source/_posts/2012-07-12-my-new-drupal-modules.md
index 7bcca20b..b784f16b 100644
--- a/source/_posts/2012-07-12-my-new-drupal-modules.md
+++ b/source/_posts/2012-07-12-my-new-drupal-modules.md
@@ -1,16 +1,14 @@
---
title: My new Drupal modules
nav: blog
-use:
- - posts
description: After a busy few days, I've released two new contrib Drupal modules.
tags:
- - Drupal
- - Drupal Modules
- - Drupal 6
- - Drupal 7
- - Drupal Planet
- - Accessibility
+ - drupal
+ - drupal-modules
+ - drupal-6
+ - drupal-7
+ - drupal-planet
+ - accessibility
---
After a busy few days, I've released two new contrib Drupal modules:
diff --git a/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md b/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md
index afc90085..37f7eb1b 100644
--- a/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md
+++ b/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md
@@ -1,14 +1,12 @@
---
title: Install and Configure the Nomensa Accessible Media Player in Drupal
nav: blog
-use:
- - posts
slug: install-nomensa-media-player-drupal
tags:
- - Accessibility
- - Drupal
- - Drupal Planet
- - Nomensa
+ - accessibility
+ - drupal
+ - drupal-planet
+ - nomensa
---
*The official documentation for this module is now located at . This post was accurate at the time of writing, whereas the documentation page will be kept up to date with any future changes.*
diff --git a/source/_posts/2012-07-27-linux-journal.md b/source/_posts/2012-07-27-linux-journal.md
index 2d848750..52e65ce9 100644
--- a/source/_posts/2012-07-27-linux-journal.md
+++ b/source/_posts/2012-07-27-linux-journal.md
@@ -1,16 +1,14 @@
---
title: Writing an Article for Linux Journal
nav: blog
-use:
- - posts
description: I'm absolutely delighted to announce that I'm going to be writing an article for Linux Journal magazine's upcoming Drupal special.
slug: writing-article-linux-journal
tags:
- - Drupal
- - Distributions
- - Installation Profiles
- - Writing
- - Linux Journal
+ - drupal
+ - distributions
+ - installation-profiles
+ - writing
+ - linux-journal
---
I'm absolutely delighted to announce that I'm going to be writing an article for [Linux Journal](http://www.linuxjournal.com) magazine's upcoming Drupal special. The article is going to be entitled "Speeding Up Your Drupal Development Using Installation Profiles and Distributions" and will be mentioning existing distributions available on Drupal.org, but mainly focussing on the steps needed to create your own custom distribution. Needless to say, I'm quite excited about it!
diff --git a/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md b/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md
index ce846d50..56a9c466 100644
--- a/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md
+++ b/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md
@@ -1,16 +1,14 @@
---
title: Display a Custom Menu in a Drupal 7 Theme Template File
nav: blog
-use:
- - posts
description: For reference, this is the code needed to display a menu in a Drupal 7 template file.
slug: display-custom-menu-drupal-7-theme-template-file
tags:
- - Drupal
- - Drupal 7
- - Drupal Planet
- - PHP
- - ARIA
+ - drupal
+ - drupal-7
+ - drupal-planet
+ - php
+ - aria
---
For reference, this is the code needed to display a menu in a Drupal 7 template file, including the navigation ARIA role.
diff --git a/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md b/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md
index b5fc3c38..8d841d4c 100644
--- a/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md
+++ b/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md
@@ -1,10 +1,10 @@
---
title: Reflections on speaking at UnifiedDiff
nav: blog
-use:
- - posts
description: Yesterday evening I went to and spoke at the UnifiedDiff meetup in Cardiff, having offered previously to do a presentation providing an introduction to Drupal.
slug: reflections-speaking-unifieddiff
+tags:
+ - talks
---
Yesterday evening I went along and spoke at the [UnifiedDiff meetup](http://www.unifieddiff.co.uk) in Cardiff, having offered previously to do a presentation providing an introduction to Drupal.
diff --git a/source/_posts/2012-10-25-my-sublime-text-2-settings.md b/source/_posts/2012-10-25-my-sublime-text-2-settings.md
index 7c30b3c7..c142ec6e 100644
--- a/source/_posts/2012-10-25-my-sublime-text-2-settings.md
+++ b/source/_posts/2012-10-25-my-sublime-text-2-settings.md
@@ -1,11 +1,9 @@
---
title: My Sublime Text 2 settings
nav: blog
-use:
- - posts
description: Sublime Text 2 has been my text editor of choice for the past few months, and I use it at home, in work, and on any virtual machines that I run. So rather than having to manually re-enter my settings each time, I thought that I'd document them here for future reference.
tags:
- - Sublime Text
+ - sublime-text
---
[Sublime Text 2](http://www.sublimetext.com/2) has been my text editor of choice for the past few months, and I use it at home, in work, and on any virtual machines that I run. So rather than having to manually re-enter my settings each time, I thought that I'd document them here for future reference. These preferences ensure that the code is compliant with [Drupal coding standards](http://drupal.org/coding-standards "Drupal coding standards on Drupal.org") - using two spaces instead of a tab, no trailing whitespace, blank line at the end of a file etc.
diff --git a/source/_posts/2012-11-15-accessible-bristol-site.md b/source/_posts/2012-11-15-accessible-bristol-site.md
index ef17ad6e..b9248ef4 100644
--- a/source/_posts/2012-11-15-accessible-bristol-site.md
+++ b/source/_posts/2012-11-15-accessible-bristol-site.md
@@ -1,13 +1,11 @@
---
title: Accessible Bristol site launched
nav: blog
-use:
- - posts
description: I'm happy to report that the Accessible Bristol was launched this week, on Drupal 7.
tags:
- - Accessibility
- - Accessible Bristol
- - Nomensa
+ - accessibility
+ - accessible-bristol
+ - nomensa
---
I'm happy to report that the [Accessible Bristol](http://www.accessiblebristol.org.uk) website was launched this week, on Drupal 7. The site's been developed over the past few months, and uses the [User Relationships](http://drupal.org/project/user_relationships) and [Privatemsg](http://drupal.org/project/privatemsg) modules to provide a community-based platform where people with an interest in accessibility can register and network with each other.
diff --git a/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md b/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md
index bbb15d34..fb9b5406 100644
--- a/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md
+++ b/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md
@@ -1,13 +1,11 @@
---
title: Open Sublime Text 2 from the Mac OS X Command Line
nav: blog
-use:
- - posts
slug: open-sublime-text-2-mac-os-x-command-line
tags:
- - Sublime Text
- - Mac OS X
- - Terminal
+ - sublime-text
+ - mac-os-x
+ - terminal
---
Paste the following code into the Mac OS X Terminal, assuming that you've installed Sublime Text 2 into the /Applications folder.
diff --git a/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md b/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md
index 8967849d..641c5271 100644
--- a/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md
+++ b/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md
@@ -1,19 +1,16 @@
---
title: How to use SASS and Compass in Drupal 7 using Sassy
nav: blog
-use:
- - posts
slug: use-sass-and-compass-drupal-7-using-sassy
tags:
- - Compass
- - CSS
- - Drupal
- - Drupal 7
- - Drupal Planet
- - LESS
- - Preprocessing
- - SASS
- - SCSS
+ - compass
+ - css
+ - drupal
+ - drupal-7
+ - drupal-planet
+ - less
+ - preprocessing
+ - sass
---
I've recently started using [SASS](http://sass-lang.com) rather than LESS to do my CSS preprocessing - namely due to its integration with [Compass](http://compass-style.org) and it's built-in CSS3 mixins. There are three modules that provide the ability to use SASS within Drupal:
diff --git a/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md b/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md
index 4737d9d2..3971c05a 100644
--- a/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md
+++ b/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md
@@ -1,16 +1,14 @@
---
title: Checking if a user is logged into Drupal (the right way)
nav: blog
-use:
- - posts
description: How to check if a user is logged into Drupal by using the user_is_logged_in() and user_is_anonymous() functions.
slug: checking-if-user-logged-drupal-right-way
tags:
- - Drupal
- - Drupal 6
- - Drupal 7
- - Drupal Planet
- - PHP
+ - drupal
+ - drupal-6
+ - drupal-7
+ - drupal-planet
+ - php
---
I see this regularly when working on Drupal sites when someone wants to check whether the current user is logged in to Drupal (authenticated) or not (anonymous):
diff --git a/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md b/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md
index c7d3661f..daa01d76 100644
--- a/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md
+++ b/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md
@@ -1,14 +1,12 @@
---
title: Creating and using custom tokens in Drupal 7
nav: blog
-use:
- - posts
slug: creating-and-using-custom-tokens-drupal-7
tags:
- - Drupal
- - Drupal Planet
- - Drupal 7
- - Tokens
+ - drupal
+ - drupal-planet
+ - drupal-7
+ - tokens
---
This post outlines the steps required to create your own custom tokens in Drupal.
diff --git a/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md b/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md
index 1150a865..892110d7 100644
--- a/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md
+++ b/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md
@@ -1,13 +1,11 @@
---
title: The Quickest way to Install Sublime Text 2 in Ubuntu
nav: blog
-use:
- - posts
slug: quickest-way-install-sublime-text-2-ubuntu
tags:
- - Linux
- - Sublime Text
- - Ubuntu
+ - linux
+ - sublime-text
+ - ubuntu
---
After reading numerous blog posts about how to install [Sublime Text 2](http://www.sublimetext.com/2 "Sublime Text 2") in [Ubuntu](http://www.ubuntu.com/2 "Ubuntu"), this is definitely the quickest way! Just paste the following lines into your Terminal:
diff --git a/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md b/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md
index c42f7fb7..a0a2cadb 100644
--- a/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md
+++ b/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md
@@ -1,13 +1,11 @@
---
title: Leaving Nomensa, Joining Precedent
nav: blog
-use:
- - posts
description: Yesterday was my last day working at Nomensa. Next week, I'll be starting as a Senior Developer at Precedent.
tags:
- - Nomensa
- - Precedent
- - Personal
+ - nomensa
+ - precedent
+ - personal
---
Yesterday was my last day working at [Nomensa](http://www.nomensa.com "Nomensa"). Next week, I'll be starting as a Senior Developer at [Precedent](http://www.precedent.co.uk "Precedent").
diff --git a/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md b/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md
index 44d631ca..968ba472 100644
--- a/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md
+++ b/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md
@@ -1,15 +1,13 @@
---
title: Display Git Branch or Tag Names in your Bash Prompt
nav: blog
-use:
- - posts
description: Whilst watching Drupalize.me's recent Introduction to Git series, I thought it was useful the way that the current Git branch or tag name was displayed in the bash prompt. Here's how to do it.
slug: display-git-branch-or-tag-names-your-bash-prompt
tags:
- - Drupal
- - Drupal Planet
- - Git
- - Terminal
+ - drupal
+ - drupal-planet
+ - git
+ - terminal
---
Whilst watching [Drupalize.me](http://drupalize.me "Drupalize.me")'s recent [Introduction to Git series](http://drupalize.me/series/introduction-git-series "Introduction to Git on Drupalize.me"), I thought it was useful the way that the current Git branch or tag name was displayed in the bash prompt.
diff --git a/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md b/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md
index f399edeb..01ae28a4 100644
--- a/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md
+++ b/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md
@@ -1,15 +1,13 @@
---
title: Some useful links for using SimpleTest in Drupal
nav: blog
-use:
- - posts
slug: some-useful-links-using-simpletest-drupal
tags:
- - SimpleTest
- - TDD
- - Test Driven Development
- - Drupal Planet
- - Drupal
+ - simpletest
+ - tdd
+ - test-driven-development
+ - drupal-planet
+ - drupal
---
Here are some useful links that I've found when researching about unit testing in Drupal using SimpleTest:
diff --git a/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md b/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md
index 87e86f2d..af2a33e0 100644
--- a/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md
+++ b/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md
@@ -1,15 +1,13 @@
---
title: Creating Local and Staging sites with Drupal's Domain Module Enabled
nav: blog
-use:
- - posts
slug: creating-local-and-staging-sites-drupals-domain-module-enabled
tags:
- - Drupal
- - Drupal Planet
- - Databases
- - Domain
- - Table Prefixing
+ - drupal
+ - drupal-planet
+ - databases
+ - domain
+ - table-prefixing
---
The [Domain Access project](https://drupal.org/project/domain "The Domain Access project on Drupal.org") is a suite of modules that provide tools for running a group of affiliated sites from one Drupal installation and a single shared database. The issue is that the domains are stored within the database so these are copied across when the data is migrated between environments, whereas the domains are obviously going to change.
diff --git a/source/_posts/2013-07-26-going-to-drupalcon.md b/source/_posts/2013-07-26-going-to-drupalcon.md
index 6cbd1809..70be05d1 100644
--- a/source/_posts/2013-07-26-going-to-drupalcon.md
+++ b/source/_posts/2013-07-26-going-to-drupalcon.md
@@ -1,12 +1,10 @@
---
title: Going to DrupalCon
nav: blog
-use:
- - posts
slug: going-drupalcon
tags:
- - DrupalCon
- - Precedent
+ - drupalcon
+ - precedent
---
[Precedent](http://www.precedent.co.uk) are sending myself and two of our other Drupal Developers to [Drupalcon Prague](http://prague2013.drupal.org).
diff --git a/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md b/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md
index ec98b6ad..3a79cd7d 100644
--- a/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md
+++ b/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md
@@ -1,15 +1,13 @@
---
title: Create a Zen Sub-theme Using Drush
nav: blog
-use:
- - posts
description: How to quickly create a Zen sub-theme using Drush.
tags:
- - Drupal
- - Drupal Planet
- - Drush
- - Zen
- - Theming
+ - drupal
+ - drupal-planet
+ - drush
+ - zen
+ - theming
---
First, download the [Zen](https://drupal.org/project/zen "The Zen theme") theme if you haven't already done so.
diff --git a/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md b/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md
index 3c893078..3e6244f1 100644
--- a/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md
+++ b/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md
@@ -1,12 +1,10 @@
---
title: Don't Bootstrap Drupal, Use Drush
nav: blog
-use:
- - posts
tags:
- - Drush
- - Drupal Planet
- - PHP
+ - drush
+ - drupal-planet
+ - php
---
There are times when doing Drupal development when you need to run a custom PHP script, maybe moving data from one field to another, that doesn't warrant the time and effort to create a custom module. In this scenario, it would be quicker to write a .php script and bootstrap Drupal to gain access to functions like `node_load()` and `db_query()`.
diff --git a/source/_posts/2013-11-27-useful-vagrant-commands.md b/source/_posts/2013-11-27-useful-vagrant-commands.md
index ee7f77fd..7f23d22c 100644
--- a/source/_posts/2013-11-27-useful-vagrant-commands.md
+++ b/source/_posts/2013-11-27-useful-vagrant-commands.md
@@ -1,11 +1,9 @@
---
title: Useful Vagrant Commands
nav: blog
-use:
- - posts
description: Here are the basic commands that you need to adminster a virtual machine using Vagrant.
tags:
- - Vagrant
+ - vagrant
---
[Vagrant](http://www.vagrantup.com "About Vagrant") is a tool for managing virtual machines within [VirtualBox](https://www.virtualbox.org) from the command line. Here are some useful commands to know when using Vagrant:
diff --git a/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md b/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md
index 56edcde8..c9857d8f 100644
--- a/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md
+++ b/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md
@@ -1,12 +1,10 @@
---
title: Quickly Apply Patches Using Git and curl or wget
nav: blog
-use:
- - posts
description: How to quickly download a patch file and apply it to a Git repository in one line
tags:
- - Git
- - Drupal Planet
+ - git
+ - drupal-planet
---
Testing a patch file is usually a two-step process. First you download the patch file from the source, and then you run a separate command to apply it.
diff --git a/source/_posts/2013-12-31-download-different-versions-drupal-drush.md b/source/_posts/2013-12-31-download-different-versions-drupal-drush.md
index d4560958..79d1f5ef 100644
--- a/source/_posts/2013-12-31-download-different-versions-drupal-drush.md
+++ b/source/_posts/2013-12-31-download-different-versions-drupal-drush.md
@@ -1,14 +1,12 @@
---
title: Download Different Versions of Drupal with Drush
nav: blog
-use:
- - posts
description: How to download different versions of Drupal core using Drush.
slug: download-different-versions-drupal-drush
tags:
- - Drupal
- - Drupal Planet
- - Drush
+ - drupal
+ - drupal-planet
+ - drush
---
If you use [Drush](https://raw.github.com/drush-ops/drush/master/README.md "About Drush"), it's likely that you've used the `drush pm-download` (or `drush dl` for short) command to start a new project. This command downloads projects from Drupal.org, but if you don't specify a project or type "drush dl drupal", the command will download the current stable version of Drupal core. Currently, this will be Drupal 7 with that being the current stable version of core at the time of writing this post.
diff --git a/source/_posts/2014-01-15-some-useful-git-aliases.md b/source/_posts/2014-01-15-some-useful-git-aliases.md
index e22de6b2..e40443bd 100644
--- a/source/_posts/2014-01-15-some-useful-git-aliases.md
+++ b/source/_posts/2014-01-15-some-useful-git-aliases.md
@@ -1,10 +1,8 @@
---
title: Some Useful Git Aliases
nav: blog
-use:
- - posts
tags:
- - Git
+ - git
---
Here are some bash aliases that I use and find helpful for quickly writing Git and Git Flow commands. These should be placed within your `~/.bashrc` or `~/.bash_profile` file:
diff --git a/source/_posts/2014-02-09-drupalcamp-london-2014.md b/source/_posts/2014-02-09-drupalcamp-london-2014.md
index 4395e772..79a56609 100644
--- a/source/_posts/2014-02-09-drupalcamp-london-2014.md
+++ b/source/_posts/2014-02-09-drupalcamp-london-2014.md
@@ -1,14 +1,12 @@
---
title: DrupalCamp London 2014
nav: blog
-use:
- - posts
description: It's all booked, I'm going to be attending DrupalCamp London.
tags:
- - Drupal
- - DrupalCamp London
- - Git
- - Git Flow
+ - drupal
+ - drupalcamp-london
+ - git
+ - git-flow
---
It's all booked, I'm going to be attending [DrupalCamp London](http://2014.drupalcamplondon.co.uk).
diff --git a/source/_posts/2014-03-03-drupalcamp-london-git-flow.md b/source/_posts/2014-03-03-drupalcamp-london-git-flow.md
index 5a4ef2cc..4f07ddb2 100644
--- a/source/_posts/2014-03-03-drupalcamp-london-git-flow.md
+++ b/source/_posts/2014-03-03-drupalcamp-london-git-flow.md
@@ -1,15 +1,13 @@
---
title: DrupalCamp London: What is Git Flow?
nav: blog
-use:
- - posts
description: Slides and notes from my talk, "What is Git Flow?", that I presented at DrupalCamp London 2014.
slug: what-git-flow
tags:
- - Git
- - Git Flow
- - DrupalCamp London
- - Talks
+ - git
+ - git-flow
+ - drupalcamp-london
+ - talks
tweets: true
---
Here are my slides from my "What is Git Flow?" session at [DrupalCamp London](http://2014.drupalcamplondon.co.uk).
diff --git a/source/_posts/2014-05-03-drupal-association.md b/source/_posts/2014-05-03-drupal-association.md
index 65417b36..f784ce19 100644
--- a/source/_posts/2014-05-03-drupal-association.md
+++ b/source/_posts/2014-05-03-drupal-association.md
@@ -1,11 +1,9 @@
---
title: Drupal Association
nav: blog
-use:
- - posts
tags:
- - Drupal
- - Personal
+ - drupal
+ - personal
---
Today was my last day working at [Precedent](http://www.precedent.com). Next week, I'll be starting my [new job](https://assoc.drupal.org/node/18923 "Drupal.org Developer") at the [Drupal Association](http://assoc.drupal.org) working on Drupal's home - [Drupal.org](http://www.drupal.org).
diff --git a/source/_posts/2014-05-06-thanks.md b/source/_posts/2014-05-06-thanks.md
index 65439d14..6cacc788 100644
--- a/source/_posts/2014-05-06-thanks.md
+++ b/source/_posts/2014-05-06-thanks.md
@@ -1,11 +1,9 @@
---
title: Thanks
nav: blog
-use:
- - posts
tags:
- - Drupal
- - Drupal Association
- - Personal
+ - drupal
+ - drupal-association
+ - personal
---
This is just a quick post to thank everyone for their comments and congratulations after my previous post about [joining the Drupal Association](/blog/drupal-association). I’m looking forward to my first day in the job tomorrow.
\ No newline at end of file
diff --git a/source/_posts/2014-05-21-git-format-patch.md b/source/_posts/2014-05-21-git-format-patch.md
index a6d01da8..830a5de9 100644
--- a/source/_posts/2014-05-21-git-format-patch.md
+++ b/source/_posts/2014-05-21-git-format-patch.md
@@ -1,14 +1,12 @@
---
title: git format-patch is your Friend
nav: blog
-use:
- - posts
slug: git-format-patch
tags:
- - Patches
- - Drupal
- - Drupal Planet
- - Git
+ - patches
+ - drupal
+ - drupal-planet
+ - git
---
## The Problem
diff --git a/source/_posts/2014-07-02-drush-make-drupalbristol.md b/source/_posts/2014-07-02-drush-make-drupalbristol.md
index 6000bfab..64acd387 100644
--- a/source/_posts/2014-07-02-drush-make-drupalbristol.md
+++ b/source/_posts/2014-07-02-drush-make-drupalbristol.md
@@ -1,14 +1,12 @@
---
title: drush make drupalbristol
nav: blog
-use:
- - posts
tags:
- - Drupal
- - Drush
- - Drush Make
- - Drupal Bristol
- - Talks
+ - drupal
+ - drush
+ - drush-make
+ - drupal-bristol
+ - talks
---
Here are my slides from this month's talk night at the [Drupal Bristol user group](https://groups.drupal.org/bristol-and-west-uk).
diff --git a/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md b/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md
index 04310422..b2be1dce 100644
--- a/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md
+++ b/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md
@@ -1,16 +1,18 @@
---
title: How to fix Vagrant Loading the Wrong Virtual Machine
nav: blog
-use:
- - posts
slug: fix-vagrant-loading-wrong-virtual-machine
tags:
- - Vagrant
- - VirtualBox
+ - vagrant
+ - virtualbox
+meta:
+ description: How to fix it when Vagrant loads the wrong virtual machine.
---
-A few times recently, I've had instances where Vagrant seems to have forgotten which virtual machine it's supposed to load, probably due to renaming a project directory or the .vagrant directory being moved accidentally. Here are the steps that I took to fix this and point Vagrant back at the correct VM.
+A few times recently, I've had instances where Vagrant seems to have forgotten which virtual machine it's supposed to load, probably due to renaming a project directory or the .vagrant directory being moved accidentally.
-* Stop the machine from running using the `$ vagrant halt` command.
-* Use the `$ VBoxManage list vms` command to view a list of the virtual machines on your system. Note the ID of the correct VM that should be loading. For example, `"foo_default_1405481857614_74478" {e492bfc3-cac2-4cde-a396-e81e37e421e2}`. The number within the curly brackets is the ID of the virtual machine.
-* Within the .vagrant directory in your project (it is hidden by default), update the ID within the machines/default/virtualbox/id file.
-* Start the new VM with `$ vagrant up`.
\ No newline at end of file
+Here are the steps that I took to fix this and point Vagrant back at the correct VM.
+
+1. Stop the machine from running using the `$ vagrant halt` command.
+2. Use the `$ VBoxManage list vms` command to view a list of the virtual machines on your system. Note the ID of the correct VM that should be loading. For example, `"foo_default_1405481857614_74478" {e492bfc3-cac2-4cde-a396-e81e37e421e2}`. The number within the curly brackets is the ID of the virtual machine.
+3. Within the .vagrant directory in your project (it is hidden by default), update the ID within the machines/default/virtualbox/id file.
+4. Start the new VM with `$ vagrant up`.
\ No newline at end of file
diff --git a/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md b/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md
index f7953d8b..2031207b 100644
--- a/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md
+++ b/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md
@@ -1,14 +1,12 @@
---
title: Updating Features and Adding Components Using Drush
nav: blog
-use:
- - posts
slug: updating-features-and-adding-components-using-drush
tags:
- - Drupal
- - Drupal Planet
- - Drush
- - Features
+ - drupal
+ - drupal-planet
+ - drush
+ - features
---
If you use the [Features module](http://drupal.org/project/features) to manage your Drupal configuration, it can be time consuming to update features through the UI, especially if you are working on a remote server and need to keep downloading and uploading files.
diff --git a/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md b/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md
index 9dcfbc3d..41e9e844 100644
--- a/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md
+++ b/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md
@@ -1,15 +1,13 @@
---
title: Include CSS Fonts by Using a SASS each Loop
nav: blog
-use:
- - posts
description: How to use an SASS each loop to easily add multiple fonts to your CSS.
slug: include-css-fonts-using-sass-each-loop
tags:
- - Compass
- - Drupal Planet
- - Fonts
- - SASS
+ - compass
+ - drupal-planet
+ - fonts
+ - sass
---
Using a file structure similar to this, organise your font files into directories, using the the font name for both the directory name and for the file names.
diff --git a/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md b/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md
index cada0ed2..cb04e104 100644
--- a/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md
+++ b/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md
@@ -1,12 +1,10 @@
---
title: Using Remote Files when Developing Locally with Stage File Proxy Module
nav: blog
-use:
- - posts
tags:
- - Drupal
- - Drupal Planet
- - Servers
+ - drupal
+ - drupal-planet
+ - servers
---
Download the [Stage File Proxy](https://www.drupal.org/project/stage_file_proxy) module from Drupal.org and enable it on your site.
diff --git a/source/_posts/2014-11-27-pantheon-settings-files.md b/source/_posts/2014-11-27-pantheon-settings-files.md
index 1f13e0a3..7026f77d 100644
--- a/source/_posts/2014-11-27-pantheon-settings-files.md
+++ b/source/_posts/2014-11-27-pantheon-settings-files.md
@@ -1,13 +1,11 @@
---
title: Include environment-specific settings files on Pantheon
nav: blog
-use:
- - posts
slug: pantheon-settings-files
tags:
- - Drupal
- - Drupal Planet
- - Pantheon
+ - drupal
+ - drupal-planet
+ - pantheon
- settings.php
---
I was recently doing some work on a site hosted on [Pantheon](http://getpantheon.com) and came across an issue, for which part of the suggested fix was to ensure that the `$base_url` variable was explicitly defined within settings.php (this is also best practice on all Drupal sites).
diff --git a/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md b/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md
index 790bbc49..e3dd4d37 100644
--- a/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md
+++ b/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md
@@ -1,15 +1,13 @@
---
title: Include a Local Drupal Settings file for Environment Configuration and Overrides
nav: blog
-use:
- - posts
slug: include-local-drupal-settings-file-environment-configuration-and-overrides
tags:
- - Drupal
- - Drupal 6
- - Drupal 7
- - Drupal 8
- - Drupal Planet
+ - drupal
+ - drupal-6
+ - drupal-7
+ - drupal-8
+ - drupal-planet
- settings.php
---
At the bottom of settings.php, add the following code:
diff --git a/source/_posts/2014-12-22-configuring-the-reroute-email-module.md b/source/_posts/2014-12-22-configuring-the-reroute-email-module.md
index 0de3dac6..41847c02 100644
--- a/source/_posts/2014-12-22-configuring-the-reroute-email-module.md
+++ b/source/_posts/2014-12-22-configuring-the-reroute-email-module.md
@@ -1,14 +1,12 @@
---
title: Configuring the Reroute Email Module
nav: blog
-use:
- - posts
tags:
- - Drupal
- - Drupal 6
- - Drupal 7
- - Drupal Planet
- - Email
+ - drupal
+ - drupal-6
+ - drupal-7
+ - drupal-planet
+ - email
draft: true
---
[Reroute Email](https://www.drupal.org/project/reroute_email) module uses `hook_mail_alter()` to prevent emails from being sent to users from non-production sites. It allows you to enter one or more email addresses that will receive the emails instead of delivering them to the original user.
diff --git a/source/_posts/2015-03-20-2014.md b/source/_posts/2015-03-20-2014.md
index 10b63534..8822d2d5 100644
--- a/source/_posts/2015-03-20-2014.md
+++ b/source/_posts/2015-03-20-2014.md
@@ -2,15 +2,12 @@
title: 2014
description: A look back at 2014.
nav: blog
-use:
- - posts
tags:
- - Drupal Association
- - DrupalCamp London
- - Personal
+ - drupal-association
+ - drupalcamp-london
+ - personal
tweets: true
---
-
A lot happened in 2014. Here are some of the main things that I'd like to highlight:
## Joined the Drupal Association
diff --git a/source/_posts/2015-04-03-minimum-core-version.md b/source/_posts/2015-04-03-minimum-core-version.md
index b8b2608b..88fcc8de 100644
--- a/source/_posts/2015-04-03-minimum-core-version.md
+++ b/source/_posts/2015-04-03-minimum-core-version.md
@@ -2,14 +2,17 @@
title: How to Define a Minimum Drupal Core Version
description: How to define a minimum Drupal core version for your module or theme.
nav: blog
-use:
- - posts
tags:
- - Drupal
- - Drupal 7
- - Drupal Planet
+ - drupal
+ - drupal-7
+ - drupal-planet
+meta:
+ og:
+ title: 'How to Define a Minimum Drupal Core Version'
+ description: 'How to define a minimum Drupal core version for your module or theme.'
+ type: article
---
-This week, my first code patch was [committed to Drupal core](https://www.drupal.org/node/2394517#comment-9773143). The patch adds the `user_has_role()` function to theu user module, to simplify the way to check whether a user in Drupal has been assigned a specific role. This is something that I normally write a custom function for each project, but it's now available in Drupal core as of [7.36](https://www.drupal.org/drupal-7.36-release-notes).
+This week, my first code patch was [committed to Drupal core](https://www.drupal.org/node/2394517#comment-9773143). The patch adds the `user_has_role()` function to the user module, to simplify the way to check whether a user in Drupal has been assigned a specific role. This is something that I normally write a custom function for each project, but it's now available in Drupal core as of [7.36](https://www.drupal.org/drupal-7.36-release-notes).
But what if someone is using a core version less than 7.36 and tries using the function? The site would return an error because that function wouldn't exist.
@@ -55,4 +58,4 @@ Because we need to check for Drupal's core version, we're using the system modul
## External Links
-* [Writing module .info files (Drupal 7.x)](https://www.drupal.org/node/542202#dependencies)
\ No newline at end of file
+* [Writing module .info files (Drupal 7.x)](https://www.drupal.org/node/542202#dependencies)
diff --git a/source/_projects/accessible-bristol.md b/source/_projects/accessible-bristol.md
index 43b76c6c..c113b636 100644
--- a/source/_projects/accessible-bristol.md
+++ b/source/_projects/accessible-bristol.md
@@ -1,11 +1,13 @@
---
title: Accessible Bristol
-website: http://www.accessiblebristol.org
+link: http://www.accessiblebristol.org
+featured: true
tags:
- - Drupal 7
+ - drupal
+ - drupal-7
+ - accessibility
---
-
## Modules used
* [Features](https://www.drupal.org/project/features)
@@ -15,4 +17,4 @@ tags:
* [Override Node Options](https://www.drupal.org/project/override_node_options)
* [User relationships](https://www.drupal.org/project/user_relationships)
* [Views](https://www.drupal.org/project/views)
-* [Workbench Moderation](https://www.drupal.org/project/workbench_moderation)
\ No newline at end of file
+* [Workbench Moderation](https://www.drupal.org/project/workbench_moderation)
diff --git a/source/accessibility.md b/source/accessibility.md
index 4b78b4a4..9ccfba43 100644
--- a/source/accessibility.md
+++ b/source/accessibility.md
@@ -7,4 +7,4 @@ nav: accessibility
I have made as much effort as possible to make this website accessible to all users.
-If you have any suggestions to improve the site, please [contact me](contact).
\ No newline at end of file
+If you have any suggestions to improve the site, please [contact me](/contact).
\ No newline at end of file
diff --git a/source/assets/images/oliver-small.jpg b/source/assets/images/oliver-small.jpg
new file mode 100644
index 00000000..6e93f6c5
Binary files /dev/null and b/source/assets/images/oliver-small.jpg differ
diff --git a/source/assets/images/oliver.jpg b/source/assets/images/oliver.jpg
new file mode 100644
index 00000000..4b3e0319
Binary files /dev/null and b/source/assets/images/oliver.jpg differ
diff --git a/source/blog.html.twig b/source/blog.html.twig
index 6f5cf211..1ff623ed 100644
--- a/source/blog.html.twig
+++ b/source/blog.html.twig
@@ -5,20 +5,10 @@ nav: blog
use:
- posts
---
-{% block content_wrapper %}
-
+{% endblock content %}
\ No newline at end of file
diff --git a/source/blog/tags/tag.xml b/source/blog/tags/tag.xml
new file mode 100644
index 00000000..3620c9e4
--- /dev/null
+++ b/source/blog/tags/tag.xml
@@ -0,0 +1,23 @@
+---
+generator: [posts_tag_index]
+---
+
+
+
+ {{ site.title }}
+ {{ site.url }}
+ en
+ {% if site.description %}{{ site.description|raw }}{% endif %}
+
+ {{ site.calculated_date|date('r') }}
+ {% for post in page.tag_posts|slice(0, 10) %}
+
+ {{ post.title }}
+ {{ site.url }}{{ post.url }}
+ {{ site.url }}{{ post.url }}
+ {{ post.date|date('r') }}
+ {{ post.description|raw }}
+
+ {% endfor %}
+
+
\ No newline at end of file
diff --git a/source/contact.md b/source/contact.md
index c5d2a3bf..0d30e66e 100644
--- a/source/contact.md
+++ b/source/contact.md
@@ -2,23 +2,32 @@
layout: default
title: Contact
nav: contact
-use:
- - posts
meta:
description: 'Information about how to get in touch with Oliver.'
---
# Contact
-If you find any issues or want to suggest any improvements to the site, you can [create an issue](https://github.com/opdavies/oliverdavies.co.uk/issues/new) on GitHub. If you want to suggest an improvement to a blog post, please feel free to fork the repository and submit a pull request.
+The best way to contact me is via [email](mailto:oliver+contact@oliverdavies.co.uk?subject=Contact%20Oliver%20Davies).
-Email
-: [oliver@oliverdavies.co.uk](mailto:oliver+contact@oliverdavies.co.uk?subject=Contact%20Oliver%20Davies)
+If you have a support or feature request for one of the Drupal projects that I maintain, please create an issue in the appropriate issue queue on [Drupal.org](https://www.drupal.org).
-IRC (Freenode)
-: opdavies
+If you want to report an issue or want to suggest any improvements to the site, you can do so on [GitHub](https://github.com/opdavies/opdavies.github.io/issues/new). I'm happy to receive [pull requests](https://help.github.com/articles/using-pull-requests) if you want to suggest a change to piece of content.
-Twitter
-: [@opdavies](http://twitter.com/opdavies)
+## Elsewhere
-Drupal.org
-: [https://www.drupal.org/u/opdavies](https://www.drupal.org/u/opdavies "Oliver’s profile on Drupal.org")
+Here are the best places to contact me online:
+
+* IRC ({{ site.irc }}) - I'm usually in #drupal-uk on Freenode, among others.
+* Twitter (@{{ site.twitter_name }})
+* Drupal.org
+* LinkedIn
+
+## Meetups
+
+Here are the user group meetups that I attend regularly. If you're in the area, feel free to pop along and say hi!
+
+* [SWDUG](http://www.swdug.co.uk) (South Wales Drupal user group)
+* [Drupal Bristol](https://groups.drupal.org/bristol-and-west-uk)
+* [PHPSW](http://www.phpsw.org.uk)
+* [SWLUG](http://www.swlug.org) (South Wales Linux user group)
+* [Accessible Bristol](http://www.accessiblebristol.org.uk)
\ No newline at end of file
diff --git a/source/humans.txt b/source/humans.txt
deleted file mode 100644
index a48a816e..00000000
--- a/source/humans.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-/* TEAM */
- Developer: Oliver Davies
- Site: http://www.oliverdavies.co.uk
- Twitter: @opdavies
- Location: Wales, UK
-
-/* SITE */
- Doctype: HTML5
- Software: PhpStorm, Sublime Text
- Technologies: Sculpin, PHP, SASS/Compass, HTML5
diff --git a/source/index.md b/source/index.md
index af2de10a..3c8a9bbe 100644
--- a/source/index.md
+++ b/source/index.md
@@ -1,19 +1,27 @@
---
layout: default
-title: About Oliver
nav: about
-front: true
-use:
- - posts
meta:
description: 'The personal website and blog of Oliver Davies, a Drupal Developer and Systems Administrator from Wales, UK.'
+ og:
+ title: 'Oliver Davies - Drupal Developer'
+ description: 'The personal website and blog of Oliver Davies, a Drupal Developer and Systems Administrator from Wales, UK.'
+ type: website
+ image:
+ url: http://www.oliverdavies.co.uk/assets/images/oliver.jpg
+ width: 327
+ height: 327
+ type: image/jpg
---
# About
-Hi, I'm Oliver Davies - a [Drupal](https://www.drupal.org/about) Developer and Systems Administrator based in Wales. I work for the [Drupal Association](https://assoc.drupal.org/about) Engineering team, working on Drupal.org, it's sub-sites and infrastructure, as well as providing part-time freelance services.
+
-I'm an active member of the Drupal and PHP communities - organising and [speaking](/talks/) at user groups and conferences, mentoring at DrupalCons, and contributing code to core and various contrib modules and themes. I'm the Git Documentation Maintainer for the Drupal project and a provisional member of the [Drupal Security team](https://www.drupal.org/security-team).
+Oliver Davies is a senior level Web Developer and Systems Administrator based in the UK, who was been working online since 2007. Specialising in PHP and open source technologies, Oliver architects and develops websites using [Drupal](https://www.drupal.org) - a powerful content management framework - and [Sculpin](http://sculpin.io) - a static site generator written in PHP.
-I also have experience of building websites using static site generators, namely [Sculpin](http://sculpin.io) and [Jekyll](http://jekyllrb.com).
+Oliver currently works for the [Drupal Association](https://assoc.drupal.org) and also provides freelance consultancy services for Drupal websites and Linux servers.
-I have active social media profiles on [Twitter](https://twitter.com/opdavies) and [LinkedIn](https://www.linkedin.com/in/opdavies), and you can view my code on [Drupal.org](https://www.drupal.org/user/381388/track/code) and [GitHub](https://www.github.com/opdavies?tab=activity).
+In his spare time, Oliver contributes to Drupal core and maintains several contrib modules on Drupal.org, is the Git Documentation Maintainer for the Drupal project, and is a provisional member of the [Drupal Security team](https://www.drupal.org/security-team). He attends, organises and [talks](/talks) at user groups, and volunteers and mentors at conferences. He also is a 2nd Degree Black Belt in Tae Kwon-Do and a Brazilian Jiu-Jitsu practitioner.
+
+Oliver has active social media profiles on Twitter and LinkedIn, and you can view his code on
+Drupal.org and GitHub.
\ No newline at end of file
diff --git a/source/robots.txt b/source/robots.txt
new file mode 100644
index 00000000..47da7ecc
--- /dev/null
+++ b/source/robots.txt
@@ -0,0 +1,9 @@
+---
+permalink: none
+---
+User-agent: *
+Disallow: /_projects/
+Disallow: /_testimonials/
+Disallow: /404.html
+
+Sitemap: {{ site.url }}/sitemap.xml
\ No newline at end of file
diff --git a/source/services.md b/source/services.md
index 4bbad849..7c39531d 100644
--- a/source/services.md
+++ b/source/services.md
@@ -2,8 +2,6 @@
layout: default
title: Services
nav: services
-use:
- - posts
meta:
description: 'Information about freelance services that Oliver offers.'
---
diff --git a/source/sitemap.xml b/source/sitemap.xml
new file mode 100644
index 00000000..70ef3c7e
--- /dev/null
+++ b/source/sitemap.xml
@@ -0,0 +1,38 @@
+---
+permalink: sitemap.xml
+---
+
+
+
+ {{ site.url }}
+ {{ site.calculated_date | date('Y-m-d') }}
+ daily
+ 0.8
+
+
+ {% set pages = { 0: 'accessibility', 1: 'blog', 2: 'company-information', 3: 'contact', 4: 'services', 5: 'talks', 6: 'work' } %}
+ {% for page in pages %}
+
+ {{ site.url }}/{{ page }}
+ {{ site.calculated_date | date('Y-m-d') }}
+ monthly
+ 0.6
+
+ {% endfor %}
+
+
+ {{ site.url }}/blog
+ {{ site.calculated_date | date('Y-m-d') }}
+ monthly
+ 0.8
+
+
+ {% for post in data.posts %}
+
+ {{ site.url }}{{ post.url }}
+ {{ post.date|date('c') }}
+ weekly
+ 1.0
+
+ {% endfor %}
+
\ No newline at end of file
diff --git a/source/talks.html.twig b/source/talks.html.twig
index b68e3c8b..c2ff6ec2 100644
--- a/source/talks.html.twig
+++ b/source/talks.html.twig
@@ -2,6 +2,7 @@
layout: default
title: Talks
nav: talks
+<<<<<<< HEAD
use:
- talks
---
@@ -13,4 +14,102 @@ use:
{% endfor %}
-
\ No newline at end of file
+
+=======
+meta:
+ description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups'
+talks:
+ - date: 2012-09-05
+ location: unified.diff
+ description: So, what is this Drupal thing? - an introduction to Drupal.
+ tags:
+ - user-group
+ - drupal
+ - date: 2013-07-10
+ location: South Wales Drupal User Group
+ description: An overview of the Drupal LDAP module and how I customised it for a client project.
+ tags:
+ - user-group
+ - drupal
+ - ldap
+ - date: 2014-03-01
+ location: DrupalCamp London
+ description: Never Commit to Master: An Introduction to Git Flow.
+ tags:
+ - conference
+ - drupalcamp
+ - git
+ - git-flow
+ - date: 2014-07-02
+ location: Drupal Bristol User Group
+ description: drush make drupalbristol: An introduction to Drush and Drush Make.
+ tags:
+ - user-group
+ - drush
+ - drush-make
+ - date: 2014-08-09
+ location: South Wales Drupal User Group
+ description: An impromptu talk about the Drupal Association and I've done there since joining the team.
+ tags:
+ - user-group
+ - drupal-association
+ - date: 2015-01-18
+ location: DrupalCamp Brighton
+ description: Drupal.org in 2015: What's coming next?
+ tags:
+ - conference
+ - drupalcamp
+ - drupalorg
+ - drupal-association
+ - date: 2015-02-28
+ location: DrupalCamp London
+ description: Drupal.org in 2015: What's coming next?
+ tags:
+ - conference
+ - drupalcamp
+ - drupalorg
+ - drupal-association
+ - date: 2015-04-08
+ location: PHPSW
+ description: Drupal 8 (lightning talk)
+ tags:
+ - user-group
+ - drupal
+ - drupal-8
+ - phpsw
+---
+
Talks
+
+
I regularly speak at conferences and user groups about a range of subjects relating to Drupal, PHP and web development. If you would like to me to speak at your group or conference, please get in touch.
+
+{% set now = 'now'|date('U') %}
+{% set talks = page.talks|reverse %}
+
+{% set found = false %}
+{% for talk in talks if talk.date >= now %}
+ {% if loop.first %}
+ {% set found = true %}
+
Upcoming Talks
+
+ {% endif %}
+
+ {% include 'talk-listing-item' %}
+{% endfor %}
+{% if found %}
+
+{% endif %}
+
+{% set found = false %}
+{% for talk in talks if talk.date < now %}
+ {% if loop.first %}
+ {% set found = true %}
+
Previous Talks
+
+ {% endif %}
+
+ {% include 'talk-listing-item' %}
+{% endfor %}
+{% if found %}
+