Skip to content

Instantly share code, notes, and snippets.

@bridgestew
Last active August 29, 2015 14:01
Show Gist options
  • Save bridgestew/0f383455b5cc8d5a1448 to your computer and use it in GitHub Desktop.
Save bridgestew/0f383455b5cc8d5a1448 to your computer and use it in GitHub Desktop.
Jekyll 2.0 Stuff
url: http://example.com
name: Name
description: Description of site
pages_permalink: true
permalink: /:categories/:title #this didn't work within a scope, anly at root
defaults:
-
scope:
path: "" # empty string for all files
type: "page"
values:
layout: "page"
-
scope:
path: ""
type: "post"
values:
layout: "article"
---
title: Title of Post
layout: article
category: articles
tags: [nonsense]
excerpt: Excerpt of post, defined by me
---
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
---
title: Title of Post
layout: article
category: articles
tags: [nonsense]
---
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment