Skip to content
Snippets Groups Projects
post-event.html 1.47 KiB
<div style="
 background-color: #fafafa;
 border: 2px solid;
 border-color: #e67206;
 padding: 10px;
 margin: 10px;">
 {% for event in site.events %}
   {% if event.uid contains {{include.uid}} %}
     {% if event.layout == "eventcal" %}

      <h3>Eventinformation: </h3>
      <b>{{ event.title }}</b>
      {% if event.pretix and event.pretix != "" and event.pretix != nil %}
        <br>
        Anmeldung im Pretix <a href="{{event.pretix}}">hier möglich</a>.<br>
      {% endif %}
      <br>
      <b>Datum:</b> {{ event.eventdate | date: "%d.%m.%Y %H:%M" }}
      {% if event.recording %}
      <br><p>Die Veranstaltung wird aufgezeichnet.</p>
      {% else %}
      <br><p>Es findet keine Aufzeichnung statt.</p>
      {% endif %}
      <br>
      <b>Raum:</b>
      {% for location in event.locations %}
      {{ location | xml_escape }} <br>
      {% endfor %}
      <p>{{event.short}}<p>
      <a href="{{ site.baseurl }}/events.ics">Chaotikum Event Kalender Importieren</a><br>
      {% if event.eventics %}
      <a href="{{ event.eventics }}">Dieses Event in den Kalender Importieren</a><br>
      {% endif %}
      <a href="{{ site.baseurl }}{{event.url}}" style="color:#D0D0D0; text-decoration:none; background: none;">event.xml</a>
      {% assign eventurl = event.url %}
      {% assign eventurl =  eventurl | prepend: site.baseurl | prepend: site.url %}
      <!--<a href="{{ eventurl }}" type="text/calendar">Event Importieren</a>-->
     {% endif %}
   {% endif %}
 {% endfor %}
</div>