Sha256: 9a7d4594e0608625b82b3a9d867532f36ceb81c584709c5555df29733a8a52c8
Contents?: true
Size: 1.4 KB
Versions: 7
Compression:
Stored size: 1.4 KB
Contents
{%- assign info = include.info -%} <ul class="grid"> {%- for item in info.items -%} {%- assign session = site.data.sessions[item] -%} <li class="card-tab {{ info.theme }}"> {%- if session.type -%} <div class="top-bar">{{ session.type }}</div> {%- elsif session.sequence -%} <div class="top-bar">{{ site.data.course.session_tag }}</div> {%- else -%} <div class="top-bar"> </div> {%- endif -%} {%- if session.sequence -%} <div class="tab">{{ session.sequence }}</div> {%- elsif session.icon -%} <div class="tab material-symbols-outlined">{{ session.icon }}</div> {%- endif -%} {%- if session.due -%} <div class="header"> <span class="material-symbols-outlined">alarm_on</span> {{ session.due | date: '%b %e, %y' }} </div> {%- elsif session.type -%} <div class="header">{{ session.header }}</div> {%- else -%} <div class="header"> </div> {%- endif -%} <div class="body"> {%- if session.url -%} <h3><a href="/session/{{ session.url }}">{{ session.title }}</a></h3> {%- else -%} <h3>{{ session.title }}</h3> {%- endif -%} {%- if session.part -%} <div class="item"> Part {{ session.part }} </div> {%- endif -%} </div> </li> {%- endfor -%} </ul>
Version data entries
7 entries across 7 versions & 1 rubygems