Move slugs into filenames

This commit is contained in:
Oliver Davies 2018-10-21 00:30:07 +01:00
parent 6a71544b4d
commit 120e7b8748
69 changed files with 1 additions and 69 deletions

View file

@ -3,7 +3,7 @@ sculpin:
sculpin_content_types:
posts:
permalink: blog/:slug_title/
permalink: blog/:basename/
taxonomies: [tags]
talks:
permalink: talks/:basename/

View file

@ -1,6 +1,5 @@
---
title: Conditional Email Addresses in a Webform
slug: conditional-email-addresses-webform
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Create a Slideshow of Multiple Images Using Fancy Slide
slug: create-slideshow-multiple-images-using-fancy-slide
tags:
- drupal-planet
- drupal

View file

@ -1,6 +1,5 @@
---
title: Quickly Import Multiples Images Using the Imagefield_Import Module
slug: quickly-import-multiples-images-using-imagefieldimport-module
tags:
- drupal-planet
- imagefield-import

View file

@ -1,6 +1,5 @@
---
title: Improve JPG Quality in Imagecache and ImageAPI
slug: improve-jpg-quality-imagecache-and-imageapi
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Create a Block of Social Media Icons using CCK, Views and Nodequeue
slug: create-block-social-media-icons-using-cck-views-and-nodequeue
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Create a Flickr Photo Gallery Using Feeds, CCK and Views
slug: create-flickr-photo-gallery-using-feeds-cck-and-views
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Change the Content Type of Multiple Nodes Using SQL
slug: change-content-type-multiple-nodes-using-sql
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Create Virtual Hosts on Mac OS X Using VirtualHostX
slug: create-virtual-hosts-mac-os-x-using-virtualhostx
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Add a Taxonomy Term to Multiple Nodes Using SQL
slug: add-taxonomy-term-multiple-nodes-using-sql
tags:
- taxonomy
- drupal-planet

View file

@ -1,6 +1,5 @@
---
title: Review of the Teleport Module
slug: review-teleport-module
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Review of the Admin:hover Module
slug: review-adminhover-module
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Create a Better Photo Gallery in Drupal - Part 1
slug: create-better-photo-gallery-drupal-part-1
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Create a Better Photo Gallery in Drupal - Part 2
slug: create-better-photo-gallery-drupal-part-2
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Review of the Image Caption Module
slug: review-image-caption-module
tags:
- drupal-planet
- drupal

View file

@ -1,6 +1,5 @@
---
title: The Inaugural Meetup for the South Wales Drupal User Group
slug: south-wales-drupal-user-group
tags:
- drupal
- drupal-planet

View file

@ -1,6 +1,5 @@
---
title: How to Create and Apply Patches
slug: create-and-apply-patches
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Create a Better Photo Gallery in Drupal - Part 3
slug: create-better-photo-gallery-drupal-part-3
tags:
- drupal
use: [posts]

View file

@ -1,6 +1,5 @@
---
title: Create a Better Photo Gallery in Drupal - Part 2.1
slug: create-better-photo-gallery-drupal-part-21
tags:
- drupal
use: [posts]

View file

@ -1,6 +1,5 @@
---
title: Use Regular Expressions to Search and Replace in Coda or TextMate
slug: use-regular-expressions-search-and-replace-coda-or-textmate
tags:
- taxonomy
- sequel-pro

View file

@ -1,6 +1,5 @@
---
title: Easily Embed TypeKit Fonts into your Drupal Website
slug: easily-embed-typekit-fonts-your-drupal-website
tags:
- drupal-planet
- drupal-6

View file

@ -1,6 +1,5 @@
---
title: Display the Number of Facebook fans in PHP
slug: display-number-facebook-fans-php
tags:
- php
use: [posts]

View file

@ -1,6 +1,5 @@
---
title: Proctor & Stevenson
slug: proctor-stevenson
tags:
- personal
use: [posts]

View file

@ -1,6 +1,5 @@
---
title: Proctors Hosting the next Drupal Meetup
slug: proctors-hosting-next-drupal-meetup
tags:
- meetups
- drupal-bristol

View file

@ -1,6 +1,5 @@
---
title: Create Multigroups in Drupal 7 using Field Collections
slug: create-multigroups-drupal-7-using-field-collections
tags:
- drupal-7
- drupal-planet

View file

@ -1,6 +1,5 @@
---
title: How to Install and Configure Subversion (SVN) Server on Ubuntu
slug: install-and-configure-subversion-svn-server-ubuntu
tags:
- svn
- ubuntu

View file

@ -1,6 +1,5 @@
---
title: Site Upgraded to Drupal 7
slug: site-upgraded-drupal-7
use: [posts]
---
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.

View file

@ -1,6 +1,5 @@
---
title: How to use Authorized Keys to Create a Passwordless SSH Connection
slug: use-authorized-keys-create-passwordless-ssh-connection
tags:
- linux
- ssh

View file

@ -1,6 +1,5 @@
---
title: Create an Omega Subtheme with LESS CSS Preprocessor using Omega Tools and Drush
slug: create-omega-subtheme-less-css-preprocessor-using-omega-tools-and-drush
tags:
- drupal-7
- omega

View file

@ -1,6 +1,5 @@
---
title: Installing Nagios on CentOS
slug: installing-nagios-centos
tags:
- nagios
- centos

View file

@ -2,7 +2,6 @@
title: Adding Custom Theme Templates in Drupal 7
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

View file

@ -1,6 +1,5 @@
---
title: How to add a date popup calendar onto a custom form
slug: add-date-popup-calendar-custom-form
tags:
- forms
- form-api

View file

@ -1,6 +1,5 @@
---
title: Checkout a specific revision from SVN from the command line
slug: checkout-specific-revision-svn-command-line
tags:
- svn
- version-control

View file

@ -1,6 +1,5 @@
---
title: Forward one domain to another using mod_rewrite and .htaccess
slug: forward-one-domain-another-using-modrewrite-and-htaccess
tags:
- .htaccess
- code

View file

@ -1,6 +1,5 @@
---
title: Prevent Apache from displaying text files within a web browser
slug: prevent-apache-displaying-text-files-within-web-browser
tags:
- apache
- code

View file

@ -1,6 +1,5 @@
---
title: Writing a .info file for a Drupal 7 theme
slug: writing-info-file-drupal-7-theme
tags:
- theming
- drupal-theming

View file

@ -1,7 +1,6 @@
---
title: Dividing Drupal's process and preprocess functions into separate files
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

View file

@ -1,6 +1,5 @@
---
title: Install and Configure the Nomensa Accessible Media Player in Drupal
slug: install-nomensa-media-player-drupal
tags:
- accessibility
- drupal

View file

@ -1,7 +1,6 @@
---
title: Writing an Article for Linux Journal
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

View file

@ -1,7 +1,6 @@
---
title: Display a Custom Menu in a Drupal 7 Theme Template File
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

View file

@ -1,7 +1,6 @@
---
title: Reflections on speaking at UnifiedDiff
description: Yesterday evening I went to and spoke at the <a href="http://www.unifieddiff.co.uk" title="UnifiedDiff">UnifiedDiff meetup</a> in Cardiff, having offered previously to do a presentation providing an introduction to Drupal.
slug: reflections-speaking-unifieddiff
tags:
- talks
use: [posts]

View file

@ -1,6 +1,5 @@
---
title: Open Sublime Text 2 from the Mac OS X Command Line
slug: open-sublime-text-2-mac-os-x-command-line
tags:
- sublime-text
- mac-os-x

View file

@ -1,6 +1,5 @@
---
title: How to use SASS and Compass in Drupal 7 using Sassy
slug: use-sass-and-compass-drupal-7-using-sassy
tags:
- compass
- css

View file

@ -1,7 +1,6 @@
---
title: Checking if a user is logged into Drupal (the right way)
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

View file

@ -1,6 +1,5 @@
---
title: Creating and using custom tokens in Drupal 7
slug: creating-and-using-custom-tokens-drupal-7
tags:
- drupal
- drupal-planet

View file

@ -1,6 +1,5 @@
---
title: The Quickest way to Install Sublime Text 2 in Ubuntu
slug: quickest-way-install-sublime-text-2-ubuntu
tags:
- linux
- sublime-text

View file

@ -1,7 +1,6 @@
---
title: Display Git Branch or Tag Names in your Bash Prompt
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

View file

@ -1,6 +1,5 @@
---
title: Some useful links for using SimpleTest in Drupal
slug: some-useful-links-using-simpletest-drupal
tags:
- simpletest
- tdd

View file

@ -1,6 +1,5 @@
---
title: Creating Local and Staging sites with Drupal's Domain Module Enabled
slug: creating-local-and-staging-sites-drupals-domain-module-enabled
tags:
- drupal
- drupal-planet

View file

@ -1,6 +1,5 @@
---
title: Going to DrupalCon
slug: going-drupalcon
tags:
- drupalcon
- precedent

View file

@ -1,7 +1,6 @@
---
title: Download Different Versions of Drupal with Drush
description: How to download different versions of Drupal core using Drush.
slug: download-different-versions-drupal-drush
tags:
- drupal
- drupal-planet

View file

@ -1,7 +1,6 @@
---
title: 'DrupalCamp London: What is Git Flow?'
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

View file

@ -1,6 +1,5 @@
---
title: git format-patch is your Friend
slug: git-format-patch
tags:
- patches
- drupal

View file

@ -1,6 +1,5 @@
---
title: How to fix Vagrant Loading the Wrong Virtual Machine
slug: fix-vagrant-loading-wrong-virtual-machine
tags:
- vagrant
- virtualbox

View file

@ -1,6 +1,5 @@
---
title: Updating Features and Adding Components Using Drush
slug: updating-features-and-adding-components-using-drush
tags:
- drupal
- drupal-planet

View file

@ -1,7 +1,6 @@
---
title: Include CSS Fonts by Using a SASS each Loop
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

View file

@ -1,6 +1,5 @@
---
title: Include environment-specific settings files on Pantheon
slug: pantheon-settings-files
tags:
- drupal
- drupal-planet

View file

@ -1,6 +1,5 @@
---
title: Include a Local Drupal Settings file for Environment Configuration and Overrides
slug: include-local-drupal-settings-file-environment-configuration-and-overrides
tags:
- drupal
- drupal-6

View file

@ -7,7 +7,6 @@ tags:
- drupalcamp
- drupalcamp-north
- twig
slug: sculpin-twig-resources
use: [posts]
---
{% block excerpt %}

View file

@ -3,7 +3,6 @@ title: Automating Sculpin Builds with Jenkins CI
tags:
- sculpin
- jenkins
slug: automating-sculpin-jenkins
use: [posts]
---
{% block excerpt %}

View file

@ -13,7 +13,6 @@ meta:
width: 448
type: image/jpg
type: website
slug: drupalcamp-bristol-early-bird-tickets-sessions-sponsors
---
{% block excerpt %}
<p class="text-center" markdown="1">![DrupalCamp Bristol 2017 logo](/images/blog/drupalcamp-bristol-17-logo.jpg)</p>

View file

@ -5,7 +5,6 @@ tags:
- drupal-7
- drupal-planet
- features
slug: turning-drupal-module-into-feature
---
{% block excerpt %}
Yesterday I was fixing a bug in an inherited Drupal 7 custom module, and I decided that I was going to add some tests to ensure that the bug was fixed and doesnt get accidentially re-introduced in the future. The test though required me to have a particular content type and fields which are specific to this site, so werent present within the standard installation profile used to run tests.

View file

@ -2,7 +2,6 @@
title: Writing a new Drupal 8 Module using Test Driven Development (TDD)
tags: [drupal, testing, tdd, simpletest, phpunit]
use: [posts]
slug: writing-drupal-module-test-driven-development-tdd
meta:
og:
title: Writing a new Drupal 8 Module using Test Driven Development (TDD)

View file

@ -5,7 +5,6 @@ tags:
- drupalcamp-bristol
use:
- posts
slug: drupalcamp-bristol-2018
meta:
og:
title: DrupalCamp Bristol 2018 Statement

View file

@ -7,7 +7,6 @@ tags:
- drupal-planet
- git
- open-source
slug: splitting-new-drupal-project-from-repo
---
{% block excerpt %}
Yay! Youve written a new Drupal module, theme or installation profile as part of your site, and now youve decided to open source it and upload it to Drupal.org as a new contrib project. But how do you split it from the main site repository into its own?

View file

@ -1,6 +1,5 @@
---
title: How to put your PHP application in a subdirectory of another site with Nginx
slug: php-apps-subdirectory-nginx
tags:
- nginx
- php

View file

@ -6,7 +6,6 @@ summary: |
I was having some issues this past weekend where, despite everything working fine locally, a server was showing a “500 Internal Server” after I pushed some changes to a site. In order to bring the site back online, I needed to revert the site files back to the previous version, but as part of a new commit.
tags:
- git
slug: back-to-the-future-git-diff-apply
---
The `git reset` commands removed the interim commits which meant that I couldnt push to the remote (force pushing, quite rightly, isnt allowed for the production branch), and using `git revert` was resulting in merge conflicts in `composer.lock` that Id rather have avoided if possible.

View file

@ -1,6 +1,5 @@
---
title: How to Use Environment Variables for your Drupal Settings with Docksal
slug: using-environment-variables-settings-docksal
tags:
- drupal
- drupal-planet

View file

@ -7,7 +7,6 @@ tags:
- phpstorm
- phpunit
- testing
slug: running-phpunit-tests-docksal-phpstorm
---
{% block excerpt %}
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.