Skip to content

Commit

Permalink
Added social links and support for multiple authors
Browse files Browse the repository at this point in the history
  • Loading branch information
eah13 committed Dec 29, 2013
1 parent 77f9af7 commit a3a0615
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions people.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,41 @@ title: "People"

{% if thisauthor.prof == true %}
#### {{ thisauthor.name }}
{{ thisauthor.about }}

{{ thisauthor.about }} Find {{ thisauthor.name }} on <a href="http://twitter.com/{{thisauthor.twitter}}">Twitter</a>, <a href="http://github.com/{{thisauthor.github}}">Github</a>, and <a href="{{thisauthor.website}}">on the web</a>.

<ul class="posts">
{% for p in site.posts do %}
{% if p.author == adata %}
{% for authors in p.author %}
{% if authors == adata %}
<li><span>=> <a href="{{ site.baseurl }}{{p.url}}">{{p.title}}</a> - {{ p.date | date_to_string }}</span></li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>

{% endif %}
{% endfor %}

### {{ site.course.title }} Participants

{% for a in site.authors do %}
{% assign adata = a[0] %}
{% assign thisauthor = site.authors[adata] %}

{% if thisauthor.prof != true %}
#### {{ thisauthor.name }}
{{ thisauthor.about }}

{{ thisauthor.about }} Find {{ thisauthor.name }} on <a href="http://twitter.com/{{thisauthor.twitter}}">Twitter</a>, <a href="http://github.com/{{thisauthor.github}}">Github</a>, and <a href="{{thisauthor.website}}">on the web</a>.

{% for p in site.posts do %}
{% if p.author == adata %}
{% for authors in p.author %}
{% if authors == adata %}
* [{{ p.title }}]({{ site.baseurl }}{{p.url}})
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
<br/>
{% endfor %}


0 comments on commit a3a0615

Please sign in to comment.