Skip to content

Commit

Permalink
External link only for upcoming talks
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed May 14, 2016
1 parent e98ab31 commit dd7319e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions _presentations/2016-05-17-kotlin-night.md
Expand Up @@ -4,6 +4,7 @@ layout: presentation
event: Kotlin Night
location: San Francisco, CA, USA
homepage: http://info.jetbrains.com/Kotlin-Night-2016.html
listing: http://info.jetbrains.com/Kotlin-Night-2016.html
date: 2016-05-17

type: Technical
Expand Down
1 change: 1 addition & 0 deletions _presentations/2016-07-29-360andev.md
Expand Up @@ -4,6 +4,7 @@ layout: presentation
event: 360|AnDev
location: Denver, CO, USA
homepage: http://360andev.com/
listing: http://360andev.com/sessions/300-exploring-javas-hidden-costs/
date: 2016-07-29

type: Technical
Expand Down
15 changes: 13 additions & 2 deletions presentations.html
Expand Up @@ -3,9 +3,20 @@
layout: default
---

<ul class="presentation-list list-unstyled">
{% assign sorted_presentations = (site.presentations | sort: 'date_start' | reverse) %}

<ul class="presentation-list list-unstyled">
{% for presentation in sorted_presentations %}
{% if presentation.date > site.time %}
<li class="presentation"><span class="date">{{ presentation.date | date: "%Y-%m-%d" }}&nbsp;</span>&nbsp;{% if presentation.listing %}<a href="{{ presentation.listing }}">⇱ {% endif %}{{ presentation.title }}{% if presentation.listing %}</a>{% endif %}&nbsp;&nbsp;<small>{{ presentation.event }} ({{ presentation.location }})</small></li>
{% endif %}
{% endfor %}
</ul>
<hr>
<ul class="presentation-list list-unstyled">
{% for presentation in sorted_presentations %}
<li class="presentation"><span class="date">{{ presentation.date | date: "%Y-%m-%d" }}&nbsp;</span>&nbsp;<a href="{{ presentation.url }}">{{ presentation.title }}</a>&nbsp;<small>{{ presentation.event }} ({{ presentation.location }})</small></li>
{% if presentation.date <= site.time %}
<li class="presentation"><span class="date">{{ presentation.date | date: "%Y-%m-%d" }}&nbsp;</span>&nbsp;<a href="{{ presentation.url }}">{{ presentation.title }}</a>&nbsp;&nbsp;<small>{{ presentation.event }} ({{ presentation.location }})</small></li>
{% endif %}
{% endfor %}
</ul>

0 comments on commit dd7319e

Please sign in to comment.