Sha256: 0e10ac00bc8c110025f64220c5f376cb6f235019a8b80b68ed73e9f6761fca2c

Contents?: true

Size: 945 Bytes

Versions: 11

Compression:

Stored size: 945 Bytes

Contents

{% for speaker_name in talk.speakers -%}
  {%- assign speaker = site.speakers | where: 'name', speaker_name | first -%}
  {%- if site.conference.speakers.show_firstname -%}
    {%- assign speaker_short = speaker.first_name | append: ' ' | append: speaker.last_name -%}
  {%- else -%}
    {%- assign speaker_short = speaker.first_name | slice: 0 | append : '. ' | append: speaker.last_name -%}
  {%- endif -%}

  {%- if speaker.hide or include.text_only -%}
    {{- speaker_short -}}
  {%- else -%}
    <a class="text-reset" href="{{ speaker.url | prepend: site.baseurl }}">
      {{- speaker_short -}}
    </a>
  {%- endif -%}

  {%- unless forloop.last %}
    {%- assign forloop_index_before_last = talk.speakers.size | minus: 1 -%}
    {% if forloop.index == forloop_index_before_last and include.text_only %} {{ site.data.lang[site.conference.lang].pronoun.and | default: 'and' }} {% else %}, {% endif -%}
  {%- endunless -%}

{%- endfor -%}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
devops4lib-jekyll-theme-conference-0.0.1 _includes/partials/list_speakers.html
jekyll-theme-conference-3.6.6 _includes/partials/list_speakers.html
jekyll-theme-conference-3.6.5 _includes/partials/list_speakers.html
jekyll-theme-conference-3.6.4 _includes/partials/list_speakers.html
jekyll-theme-conference-3.6.3 _includes/partials/list_speakers.html
jekyll-theme-conference-3.6.2 _includes/partials/list_speakers.html
jekyll-theme-conference-3.6.1 _includes/partials/list_speakers.html
jekyll-theme-conference-3.6.0 _includes/partials/list_speakers.html
jekyll-theme-conference-3.5.0 _includes/partials/list_speakers.html
jekyll-theme-conference-3.4.1 _includes/partials/list_speakers.html
jekyll-theme-conference-3.4.0 _includes/partials/list_speakers.html