Skip to content

Commit

Permalink
Merge pull request #336 from devopsdays/bridget-program
Browse files Browse the repository at this point in the history
Adding images to talk pages.

Former-commit-id: b5672f8
  • Loading branch information
bridgetkromhout committed May 13, 2016
2 parents 274b19d + dcd57a1 commit 4cbe73b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Binary file removed static/content/images/twitter.png
Binary file not shown.
13 changes: 10 additions & 3 deletions themes/devopsdays-legacy/layouts/talk/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,18 @@
*/}}
{{ range $fname, $s := index .Site.Data.speakers (chomp $e.year) (lower $e.city) }}
{{ if eq $fname ($.Title | urlize) }}
<h2>Speaker</h2>
<h3>{{ $s.name }}</h3>
<a href="https://twitter.com/{{ $s.twitter }}"><img width="32px" height="32px" alt="twitter" title="twitter" src="/images/twitter.png">@{{ $s.twitter }}</a>
<hr>
<div class="row">
<div class="col-md-3">
<img alt = "{{ $s.name }}" src = "/events/{{ $event_slug }}/speakers/{{$fname}}.png" class="img-responsive" width = "250px">
</div>
<div class= "col-md-8">
<h3>{{ $s.name }}</h3>
<a href="https://twitter.com/{{ $s.twitter }}">@{{ $s.twitter }}</a>
<br><br>
{{ $s.bio | markdownify }}
</div>
</div>
{{ end }}
{{ end }}

Expand Down
Binary file removed themes/devopsdays-legacy/static/images/twitter.png
Binary file not shown.

0 comments on commit 4cbe73b

Please sign in to comment.