Skip to content

Commit

Permalink
Merge pull request #529 from devopsdays/yvovandoorn/FixTwitterWhenNot…
Browse files Browse the repository at this point in the history
…Present

Don't display Twitter "@" when handle isn't set
  • Loading branch information
KrisBuytaert committed Jun 5, 2016
2 parents 426d1ee + 463453f commit bf6fd50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions themes/devopsdays-responsive/layouts/speakers/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</div>
<div class= "col-md-8">
<h3><a href="/events/{{ $event_slug }}/program/{{$fname}}">{{ $s.name }}</a></h3>
<a href="https://twitter.com/{{ $s.twitter }}">@{{ $s.twitter }}</a>
<br><br>
{{ if $s.twitter }} <a href="https://twitter.com/{{ $s.twitter }}">@{{ $s.twitter }}</a><br>{{ end }}
<br>
{{ $s.bio | markdownify }}
<hr>
</div>
Expand Down
4 changes: 2 additions & 2 deletions themes/devopsdays-responsive/layouts/talk/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</div>
<div class= "col-md-8">
<h3>{{ $s.name }}</h3>
<a href="https://twitter.com/{{ $s.twitter }}">@{{ $s.twitter }}</a>
<br><br>
{{ if $s.twitter }} <a href="https://twitter.com/{{ $s.twitter }}">@{{ $s.twitter }}</a><br>{{ end }}
<br>
{{ $s.bio | markdownify }}
</div>
</div>
Expand Down

0 comments on commit bf6fd50

Please sign in to comment.