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']
sculpin_content_types:
pages:
permalink: /:basename/
posts:
permalink: articles/:basename/
taxonomies: [tags]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,4 @@
---
layout: page
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].

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,4 @@
---
layout: page
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:

View file

@ -1,5 +1,4 @@
---
layout: default
title: Talks
meta:
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
use: [posts]
---

View file

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

View file

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