Sha256: 0ca48a64171b01efbbcede5d825b794cb5dcbf0938f6edc965d2f6211112e769

Contents?: true

Size: 1.21 KB

Versions: 8

Compression:

Stored size: 1.21 KB

Contents

{%- capture page_title -%}
  {%- if page.layout == 'room' -%}
    {{- page.name -}}
  {%- elsif page.layout == 'speaker' -%}
    {{- page.first_name }} {{ page.last_name -}}
  {%- elsif page.layout == 'talk' -%}
    {{- page.name -}}

  {%- elsif page.title -%}
    {{- page.title -}}

  {%- else -%}
    {%- if page.layout == 'location' -%}
      {{- site.data.lang[site.conference.lang].location.rooms | default: "Rooms" -}}
    {%- elsif page.layout == 'program' -%}
      {{- site.data.lang[site.conference.lang].program.title | default: "Program" -}}
    {%- elsif page.layout == 'speaker-overview' -%}
      {{- site.data.lang[site.conference.lang].speaker.overview | default: "Speakers" -}}
    {%- elsif page.layout == 'stream-overview' -%}
      {{ site.data.lang[site.conference.lang].live.stream | default: "Live Streams" }}
    {%- elsif page.layout == 'talk-overview' -%}
      {{- site.data.lang[site.conference.lang].talk.overview | default: "Talks" -}}
    {%- endif -%}
  {%- endif -%}
{%- endcapture -%}

{%- if page_title == empty and include.default -%}
  {%- assign page_title = include.default -%}
{%- endif -%}

{%- if include.replace_quotes -%}
  {%- assign page_title = page_title | replace: '"', "'" -%}
{%- endif -%}

Version data entries

8 entries across 8 versions & 2 rubygems

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