{% extends "base.html" %}
{% load i18n %}

{% block title %}{{ event.name }}{% endblock %}

{% block opengraph %}
<meta property="og:type" content="activity" />
<meta property="og:title" content="{{event.name}}" />
<meta property="og:url" content="http://www.kasu.at{{event.get_absolute_url}}" />
<meta property="og:image" content="http://www.kasu.at{{ event.get_thumbnail.url }}" />
{% if event.description %}<meta property="og:description" content="{{event.description}}" />{% endif %}
{% endblock %}

{% block jumbotron_background %} {{ event.get_image|thumbnail_url:'callout' }} {% endblock %}

{% block teaser %}
  <h1>{{event.name}}</h1>
  <div id="teaser_text">
   {% if event.description %}{{event.description}}{% else %}{{event.location.description}}{% endif %}
  </div>
{% endblock %}


