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:
parent
a9132738af
commit
d97621c42c
|
@ -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]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Page Not Found
|
title: Page Not Found
|
||||||
permalink: /404.html
|
permalink: /404.html
|
||||||
use: [posts]
|
use: [posts]
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Accessibility
|
title: Accessibility
|
||||||
use: [posts]
|
use: [posts]
|
||||||
---
|
---
|
|
@ -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.'
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Thanks!
|
title: Thanks!
|
||||||
permalink: contact/thanks/
|
permalink: contact/thanks/
|
||||||
use: [posts]
|
use: [posts]
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Contact
|
title: Contact
|
||||||
layout: default
|
|
||||||
use: [posts]
|
use: [posts]
|
||||||
honeypot_field: Qr4W7oB25C
|
honeypot_field: Qr4W7oB25C
|
||||||
---
|
---
|
|
@ -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].
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Experience
|
title: Experience
|
||||||
use: [posts]
|
use: [posts]
|
||||||
experiences:
|
experiences:
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Open Source
|
title: Open Source
|
||||||
projects:
|
projects:
|
||||||
drupal:
|
drupal:
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Podcasts
|
title: Podcasts
|
||||||
podcasts:
|
podcasts:
|
||||||
howtocodewell:
|
howtocodewell:
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Projects
|
title: Projects
|
||||||
projects:
|
projects:
|
||||||
- title: Rebuilding Acquia
|
- title: Rebuilding Acquia
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
---
|
---
|
||||||
<div class="markup" markdown="1">
|
<div class="markup" markdown="1">
|
||||||
# Speaker Info
|
# Speaker Info
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: page
|
|
||||||
title: Live Streaming
|
title: Live Streaming
|
||||||
---
|
---
|
||||||
I like try and do some live coding when I can, whether I’m 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 I’m 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:
|
|
@ -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'
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Development Terms
|
title: Development Terms
|
||||||
use: [posts]
|
use: [posts]
|
||||||
---
|
---
|
|
@ -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&id=033c84e0d5'
|
mailchimp_url: 'https://oliverdavi.us18.list-manage.com/subscribe/post?u=b4ac8dd177796d37b93f9c285&id=033c84e0d5'
|
||||||
contact_email: 'oliver@testdrivendrupal.com'
|
contact_email: 'oliver@testdrivendrupal.com'
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Testimonials
|
title: Testimonials
|
||||||
use: [posts]
|
use: [posts]
|
||||||
testimonials:
|
testimonials:
|
Loading…
Reference in a new issue