Created
April 15, 2013 12:47
-
-
Save austinkettner/5387798 to your computer and use it in GitHub Desktop.
Code snippet for a dynamically generated work page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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