Last active
January 20, 2017 06:00
-
-
Save mrmartineau/e0ad7ae56552c9571e285e30e3469476 to your computer and use it in GitHub Desktop.
From my blog post: Creating dynamic layouts with Jekyll
This file contains 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
{% for item in page.partials %} | |
{% include {{item.name}}.html | |
spaced=item.spaced | |
padded=item.padded | |
src=item.src | |
title=item.title | |
body=item.body | |
link=item.link | |
href=item.href | |
gutter=item.gutter | |
stack=item.stack | |
poster=item.poster | |
content=item.content | |
bgcolor=item.bgcolor | |
bgimg=item.bgimg | |
color=item.color | |
columnwidth=item.columnwidth | |
centred=item.centred | |
cite=item.cite | |
attribute=item.attribute | |
id=item.id | |
size=item.size | |
contained=item.contained %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment