Skip to content

Commit

Permalink
Add Alice to authors, introduce collaborator field
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Apr 2, 2014
1 parent afc8bf0 commit 2682a3d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions _data/authors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ robdodson:
web: http://robdodson.me
twitter: rob_dodson
github: robdodson

alice:
full_name: Alice Boxhall
gplus: 111975973972817482025
profile_pic: https://lh5.googleusercontent.com/-nS21Q4tD1R4/AAAAAAAAAAI/AAAAAAAAAp4/ixMudlaPGDs/s40-c/photo.jpg
twitter: sundress
github: alice
7 changes: 6 additions & 1 deletion _includes/authorship.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% assign author = site.data.authors[page.article.author] %}
{% assign collaborator = site.data.authors[page.article.collaborator] %}
{% assign article = page.article %}

{% assign pubdate = article.published | date: "%Y-%m-%d" %}
Expand All @@ -13,7 +14,11 @@
<!-- <a href="https://plus.google.com/{{author.gplus}}?rel=author" target="blank_">![{{author.full_name}} profile pic](//www.google.com/s2/photos/profile/{{author.gplus}}?sz=40 "{{author.full_name}}")</a> -->
<a href="https://plus.google.com/{{author.gplus}}?rel=author" target="blank_">![{{author.full_name}} profile pic]({{author.profile_pic}} "{{author.full_name}}")</a>

By <a href="https://plus.google.com/{{author.gplus}}" target="blank_">{{author.full_name}}</a><br>
{% if article.collaborator %}
<a href="https://plus.google.com/{{collaborator.gplus}}?rel=author" target="blank_">![{{collaborator.full_name}} profile pic]({{collaborator.profile_pic}} "{{collaborator.full_name}}")</a>
{% endif %}

By <a href="https://plus.google.com/{{author.gplus}}" target="blank_">{{author.full_name}}</a> {% if article.collaborator %} and <a href="https://plus.google.com/{{collaborator.gplus}}" target="blank_">{{collaborator.full_name}}</a> {% endif %}<br>
Published <time pubdate datetime="{{pubdate}}">{{article.published | date: "%B %d, %Y"}}</time>
{% if article.updated %}
(updated <time datetime="{{updated}}">{{article.updated | date: "%B %d, %Y"}}</time>)
Expand Down
3 changes: 2 additions & 1 deletion articles/accessible-web-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ title: "Accessible Web Components - Part 1"
subtitle: Improving the accessibility of Web Components

article:
author: addyosmani
author: alice
collaborator: addyosmani
published: 2014-02-04
polymer_version: 0.2.2
description: Techniques for making Web Components accessible
Expand Down

0 comments on commit 2682a3d

Please sign in to comment.