Skip to content

Commit 0a345dd

Browse files
committed
Fix twitter links
1 parent 16f96ac commit 0a345dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_layouts/event.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h3><small>{{ presentation.date | date: "%H:%M" }}</small> {{ presentation.title
2525
</div>
2626
<div class="row">
2727
<div class="">
28-
<h6>by {% if presentation.author.twitter != "" %}<a href="https://twitter.com/{{ presentation.author.twitter }}" target="_blank">{{ presentation.author.name }}</a>{% else %}{{ presentation.author.name }}{% endif %}</h6>
28+
<h6>by {% if presentation.author.twitter %}<a href="https://twitter.com/{{ presentation.author.twitter }}" target="_blank">{{ presentation.author.name }}</a>{% else %}{{ presentation.author.name }}{% endif %}</h6>
2929
<br />
3030
</div>
3131
</div>

events.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h5>{{ event.date | date: "%b %-d, %Y" }} @{{ event.location}}</h5>
4242
<div class="inner">
4343
<h6>{{ presentation.title }}</h6>
4444
<p>{{ presentation.description }}</p>
45-
<p><em>— {% if presentation.author.twitter != "" %}<a href="https://twitter.com/{{ presentation.author.twitter }}" target="_blank">{{ presentation.author.name }}</a>{% else %}{{ presentation.author.name }}{% endif %}</em></p>
45+
<p><em>— {% if presentation.author.twitter %}<a href="https://twitter.com/{{ presentation.author.twitter }}" target="_blank">{{ presentation.author.name }}</a>{% else %}{{ presentation.author.name }}{% endif %}</em></p>
4646
</div>
4747
</div>
4848
{% endfor %}

0 commit comments

Comments
 (0)