copyleftconf-website/pinaxcon/templates/symposion/schedule/presentation_detail.html

38 lines
1 KiB
HTML
Raw Permalink Normal View History

2017-10-16 23:50:49 +00:00
{% extends "symposion/schedule/presentation_detail_.html" %}
{% load thumbnail %}
2017-10-17 00:16:29 +00:00
{% load staticfiles %}
2017-10-16 23:50:49 +00:00
{% comment %}
Blocks you can override:
- description (appears in lede)
- abstract
- speaker
{% endcomment %}
{% block speaker %}
<h2>{{ speaker.name }}</h2>
<div class="row">
2017-10-17 00:16:29 +00:00
<div class="col-sm-4 col-xs-6">
<div class="circle" style="border: 0;">
{% if speaker.photo %}
<div class="fill" style="background-image: url('{% thumbnail speaker.photo '600x600' %}');"></div>
{% else %}
<div class="fill" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
{% endif %}
</div>
</div>
2017-10-16 23:50:49 +00:00
<div class="col-sm-8">
<div class="bio">
{{ speaker.biography_html|safe }}
</div>
{% if speaker.conferencespeaker.twitter_username %}
<a class="btn btn-primary" href="https://twitter.com/{{ speaker.conferencespeaker.twitter_username }}">Twitter</a>
{% endif %}
</div>
</div>
{% endblock %}