Group pages within their own directory

Add `pages` as it's own content type, and move all page content into
the appropriate directory.

Any references to `layout` in the YAML front matter has also been
removed as it's implied by the content type. Except for `about.md`
which does explicity use a different layout.
This commit is contained in:
Oliver Davies 2019-10-18 07:12:25 +01:00
parent a9132738af
commit d97621c42c
18 changed files with 2 additions and 16 deletions

View file

@ -2,6 +2,8 @@ sculpin:
ignore: ['**/.DS*', '**/*.swp'] ignore: ['**/.DS*', '**/*.swp']
sculpin_content_types: sculpin_content_types:
pages:
permalink: /:basename/
posts: posts:
permalink: articles/:basename/ permalink: articles/:basename/
taxonomies: [tags] taxonomies: [tags]

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Page Not Found title: Page Not Found
permalink: /404.html permalink: /404.html
use: [posts] use: [posts]

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Accessibility title: Accessibility
use: [posts] use: [posts]
--- ---

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Company Information title: Company Information
meta: meta:
description: 'Company information for Oliver Davies Ltd.' description: 'Company information for Oliver Davies Ltd.'

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Thanks! title: Thanks!
permalink: contact/thanks/ permalink: contact/thanks/
use: [posts] use: [posts]

View file

@ -1,6 +1,5 @@
--- ---
title: Contact title: Contact
layout: default
use: [posts] use: [posts]
honeypot_field: Qr4W7oB25C honeypot_field: Qr4W7oB25C
--- ---

View file

@ -1,5 +1,4 @@
--- ---
layout: page
title: Developing this Website (WIP) title: Developing this Website (WIP)
--- ---
This site is built with [Sculpin][], a static site generator written in PHP, that generates a static HTML website from Markdown files and Twig templates. You can see the [source code on GitHub]. This site is built with [Sculpin][], a static site generator written in PHP, that generates a static HTML website from Markdown files and Twig templates. You can see the [source code on GitHub].

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Experience title: Experience
use: [posts] use: [posts]
experiences: experiences:

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Open Source title: Open Source
projects: projects:
drupal: drupal:

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Podcasts title: Podcasts
podcasts: podcasts:
howtocodewell: howtocodewell:

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Projects title: Projects
projects: projects:
- title: Rebuilding Acquia - title: Rebuilding Acquia

View file

@ -1,5 +1,4 @@
--- ---
layout: default
--- ---
<div class="markup" markdown="1"> <div class="markup" markdown="1">
# Speaker Info # Speaker Info

View file

@ -1,5 +1,4 @@
--- ---
layout: page
title: Live Streaming title: Live Streaming
--- ---
I like try and do some live coding when I can, whether Im working on a side project, my own website or some open source code. You can find my [stream link on YouTube][0], or view some previous streams below: I like try and do some live coding when I can, whether Im working on a side project, my own website or some open source code. You can find my [stream link on YouTube][0], or view some previous streams below:

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Talks title: Talks
meta: meta:
description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups' description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups'

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Development Terms title: Development Terms
use: [posts] use: [posts]
--- ---

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: 'Test Driven Drupal: The Book' title: 'Test Driven Drupal: The Book'
mailchimp_url: 'https://oliverdavi.us18.list-manage.com/subscribe/post?u=b4ac8dd177796d37b93f9c285&amp;id=033c84e0d5' mailchimp_url: 'https://oliverdavi.us18.list-manage.com/subscribe/post?u=b4ac8dd177796d37b93f9c285&amp;id=033c84e0d5'
contact_email: 'oliver@testdrivendrupal.com' contact_email: 'oliver@testdrivendrupal.com'

View file

@ -1,5 +1,4 @@
--- ---
layout: default
title: Testimonials title: Testimonials
use: [posts] use: [posts]
testimonials: testimonials: