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']
|
||||
|
||||
sculpin_content_types:
|
||||
pages:
|
||||
permalink: /:basename/
|
||||
posts:
|
||||
permalink: articles/:basename/
|
||||
taxonomies: [tags]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Page Not Found
|
||||
permalink: /404.html
|
||||
use: [posts]
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Accessibility
|
||||
use: [posts]
|
||||
---
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Company Information
|
||||
meta:
|
||||
description: 'Company information for Oliver Davies Ltd.'
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Thanks!
|
||||
permalink: contact/thanks/
|
||||
use: [posts]
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: Contact
|
||||
layout: default
|
||||
use: [posts]
|
||||
honeypot_field: Qr4W7oB25C
|
||||
---
|
|
@ -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].
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Experience
|
||||
use: [posts]
|
||||
experiences:
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Open Source
|
||||
projects:
|
||||
drupal:
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Podcasts
|
||||
podcasts:
|
||||
howtocodewell:
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Projects
|
||||
projects:
|
||||
- title: Rebuilding Acquia
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
<div class="markup" markdown="1">
|
||||
# Speaker Info
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: page
|
||||
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:
|
|
@ -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'
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Development Terms
|
||||
use: [posts]
|
||||
---
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: 'Test Driven Drupal: The Book'
|
||||
mailchimp_url: 'https://oliverdavi.us18.list-manage.com/subscribe/post?u=b4ac8dd177796d37b93f9c285&id=033c84e0d5'
|
||||
contact_email: 'oliver@testdrivendrupal.com'
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
title: Testimonials
|
||||
use: [posts]
|
||||
testimonials:
|
Loading…
Reference in a new issue