Skip to content

Instantly share code, notes, and snippets.

@GarthDB
Last active December 23, 2015 09:19
Show Gist options
  • Save GarthDB/6613796 to your computer and use it in GitHub Desktop.
Save GarthDB/6613796 to your computer and use it in GitHub Desktop.
Trying to get multiple author's output with my jekyll blog, but it doesn't seem to be working.
authors:
garthdb:
display_name: Garth Braithwaite
gravatar: b5cf6e112eeee572d722743dea924487
email: [email protected]
web: http://www.garthdb.com/
twitter: garthdb
github: garthdb
bio: 'Engineer at Adobe working on <a href="http://www.topcoat.io">Topcoat</a>.'
test:
display_name: tester mctesty
gravatar: b5cf6e112eeee572d722743dea924487
email: [email protected]
web: http://www.test.com/
twitter: test
github: test
bio: 'Ima test.'
{% for author in site.authors %}
<author>
<name>{{author[1].display_name}}</name>
<uri>{{author[1].web}}</uri>
<email>{{author[1].email}}</email>
</author>
{% endfor %}
<author>
<name>Garth Braithwaite</name>
<uri>http://www.garthdb.com/</uri>
<email>[email protected]</email>
</author>
<author>
<name>tester mctesty</name>
<uri>http://www.test.com/</uri>
<email>[email protected]</email>
</author>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment