Skip to content
Snippets Groups Projects

Fix layout of the cards on the guidelines page

Merged Huste, Tobias requested to merge fix-guidelines into hifis-unified-step-1-after-vc-20210317
6 files
+ 38
32
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 26
0
{%- comment -%}
This is a card displaying event title and date.
Parameters:
event: The event which sould be displayed on the card
{%- endcomment -%}
<div class="card bg-light">
<div class="card-body card-overlay">
<div class="card-title">
<span class="badge badge-secondary">
<i class="fas fa-calendar-day" aria-hidden="true"></i>
{{ include.event.date | date: "%d.&thinsp;%b.&thinsp;%y" }}
</span>
<span class="badge badge-secondary">
<i class="fas fa-tag" aria-hidden="true"></i>
{{ include.event.type | capitalize }}
</span>
</div>
<div class="card-text">
<a href="{{ include.event.url | relative_url }}" class="stretched-link">
<h4>{{ include.event.title }}</h4>
</a>
</div>
</div>
</div>
Loading