Skip to content

Commit

Permalink
Add abstracts
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrennd committed Apr 27, 2016
1 parent c51107b commit a7e7317
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 34 deletions.
9 changes: 9 additions & 0 deletions _layouts/program.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ <h2>Draft Version</h2>

</ul>

{% if page.show_abstracts %}
<h1 style='font-size:2em'>Abstracts</h1>
<!-- abstracts-->
{% for post in site.posts reversed %}
{% assign talks = post.talks %}
{% include listabstracts.html %}
{% endfor %}
{% endif %}


</article>

Expand Down
19 changes: 3 additions & 16 deletions _layouts/singletrack.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,9 @@ <h3>Room: {{ site.conference.room }}</h3>

{% if page.show_abstracts %}
<h1 style='font-size:2em'>Abstracts</h1>
<!-- abstracts-->
{% for talk in page.talks %}
{% if talk.abstract %}

<br>
<h4 id='{{talk.speaker}}' style='margin-bottom:0'><b>{{ talk.title }}</b></h4>
{{ talk.speaker }}


<p style='margin-top:1em'>
{{ talk.abstract }}
</p>
</br>
{% endif %}
{% endfor %}

<!-- abstracts-->
{% assign talks = page.talks %}
{% include listabstracts.html %}
{% endif %}

</article>
Expand Down
19 changes: 1 addition & 18 deletions program.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
---
layout: program
title: Program
show_abstracts: True
---

<h1 style='font-size:2em'>Abstracts</h1>
<!-- abstracts-->
{% for post in site.posts reversed %}
{% for talk in post.talks %}
{% if talk.abstract %}

<br>
<h4 id='{{talk.speaker}}' style='margin-bottom:0'><b>{{ talk.title }}</b></h4>
{{ talk.speaker }}


<p style='margin-top:1em'>
{{ talk.abstract }}
</p>
</br>
{% endif %}
{% endfor %}
{% endfor %}

0 comments on commit a7e7317

Please sign in to comment.