38 lines
		
	
	
		
			982 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			982 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% assign event = include.event %}
 | 
						|
{% capture inner %}
 | 
						|
  <div class="inner">
 | 
						|
    {% if event.short_title %}
 | 
						|
      <p class="margin text-lg">
 | 
						|
        {{ event.short_title }}
 | 
						|
      </p>
 | 
						|
    {% else %}
 | 
						|
      <p class="margin text-lg">
 | 
						|
        {{ event.title_ }}
 | 
						|
      </p>
 | 
						|
    {% endif %}
 | 
						|
 | 
						|
    <div class="">
 | 
						|
      {% for eventParticipantId in event.participants %}
 | 
						|
        {% for participant in site.data.rf2020.participants %}
 | 
						|
          {% if participant.id == eventParticipantId %}
 | 
						|
            <span class="block participant-name margin-0">— {{ participant.fullname }}</span>
 | 
						|
          {% endif %}
 | 
						|
        {% endfor %}
 | 
						|
      {% endfor %}
 | 
						|
    </div>
 | 
						|
  </div>        
 | 
						|
{% endcapture %}
 | 
						|
 | 
						|
 | 
						|
{% if event.ref != "no-ref" %}
 | 
						|
<li class="textbox event" >
 | 
						|
  <a href="/rf2020/events/{{ event.ref }}.html">
 | 
						|
    {% if event.pic %}
 | 
						|
      <div class="bg-img" style="background-image: url({{ event.pic }})">
 | 
						|
        {{ inner }}
 | 
						|
      </div>
 | 
						|
    {% endif %}
 | 
						|
    {{ inner }}
 | 
						|
  </a>
 | 
						|
</li> 
 | 
						|
{% endif %} |