Skip to content

Instantly share code, notes, and snippets.

@remy-actual
Forked from ravasthi/_config.yml
Last active September 6, 2015 20:28
Show Gist options
  • Select an option

  • Save remy-actual/6c652b6563021388d8d1 to your computer and use it in GitHub Desktop.

Select an option

Save remy-actual/6c652b6563021388d8d1 to your computer and use it in GitHub Desktop.
Multiple authors on Jekyll
# located in _data/ subdirectory
hanzou:
name: Hanzou Hattori
display_name: Hanzou
gravatar: c66919cb194f96c696c1da0c47354a6a
email: hanzou@company.com
web: http://company.com
twitter: company
github: hhattori
remy:
name: Remy Schrader
gravatar:
posts: remy-schrader
email: remy@rootandflow.com
web: http://www.rootandflow.com
twitter: remy_actual
github: remy-actual
layout post
title Migrating from Tumblr to Jekyll
author remy
tags
Tumblr
Jekyll
tutorial
css_classes
permalink
<!-- located in _layouts/ subdirectory -->
{% assign author = site.data.authors[page.author] %}
<article class="entry">
<header>
<p class="date">
<span class="month">{{ page.date | date: '%b' }}</span>
<span class="day">{{ page.date | date: '%d' }}</span>
<span class="year">{{ page.date | date: '%Y' }}</span>
</p>
<h1>{{ page.title }}</h1>
<p class="byline">
by {{ author.display_name }}
</p> <!-- /.byline -->
</header>
</article>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment