Skip to content

Instantly share code, notes, and snippets.

@austinkettner
Created April 15, 2013 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save austinkettner/5387798 to your computer and use it in GitHub Desktop.
Save austinkettner/5387798 to your computer and use it in GitHub Desktop.
Code snippet for a dynamically generated work page
---
title: Work
layout: page
isPage: true
pageOrder: 2
---
h2 Work
p A full log containing all my work is coming soon!
ul#projects
each document in getCollection('projects').toJSON()
li
div.title= document.title
for file in getDocument.getAssociatedFiles().toJSON()
a(href= file.url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment