Sha256: bc649fa2659fe055aa2f1c2487ec9162a72addc16925f29fd68118207333fb26

Contents?: true

Size: 1.15 KB

Versions: 16

Compression:

Stored size: 1.15 KB

Contents

<section class="center-align special">
  {%- if session_data.header -%}
    <div>{{ session_data.header }}</div>
  {%- endif -%}

  <h1 class="special">{{ session_data.title }}</h1>

  {%- if session_data.part -%}
    <div>Part {{ session_data.part }}</div>
  {%- endif -%}

  {%- include segment/nav.html segment=session_data.segment -%}

  <div>
    {%- include date_range.html info=segment_data -%}
  </div>

  <div class="middle-align">
    {%- for item in segment_data.items -%}
      {%- assign _info = site.data.sessions[item] -%}
      {%- if _info.sequence -%}
        {%- assign _mso = '' -%}
      {%- else -%}
        {%- assign _mso = 'material-symbols-outlined' -%}
      {%- endif -%}

      {%- if item == session_id -%}
        <span class="lesson-number current {{_mso}}">
          {{ _info.sequence | default: _info.icon }}
        </span>
      {%- elsif _info.url -%}
        <a class="lesson-number {{_mso}}" href="/session/{{ _info.url }}">
          {{ _info.sequence | default: _info.icon }}
        </a>
      {%- else -%}
        <span class="lesson-number">{{ _info.sequence }}</span>
      {%- endif -%}
    {%- endfor -%}
  </div>
</section>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
askclass-course-theme-0.14.0 _includes/session/header.html
askclass-course-theme-0.13.5 _includes/session/header.html
askclass-course-theme-0.13.4 _includes/session/header.html
askclass-course-theme-0.13.3 _includes/session/header.html
askclass-course-theme-0.13.2 _includes/session/header.html
askclass-course-theme-0.13.1 _includes/session/header.html
askclass-course-theme-0.13.0 _includes/session/header.html
askclass-course-theme-0.12.0 _includes/session/header.html
askclass-course-theme-0.11.1 _includes/session/header.html
askclass-course-theme-0.11.0 _includes/session/header.html
askclass-course-theme-0.10.0 _includes/session/header.html
askclass-course-theme-0.5.1 _includes/session/header.html
askclass-course-theme-0.5.0 _includes/session/header.html
askclass-course-theme-0.4.0 _includes/session/header.html
askclass-course-theme-0.3.0 _includes/session/header.html
askclass-course-theme-0.2.0 _includes/session/header.html