{%- assign _title = include.article.title | default: layout.title -%}
{%- assign _titles = include.article.titles | default: layout.titles -%}

{%- if _title -%}
  {%- assign __return = _title -%}
{%- elsif _titles -%}
  {%- include snippets/locale-to-string.html locale=_titles -%}
  {%- assign __return = __return -%}
{%- else -%}
  {%- assign __return = nil -%}
{%- endif -%}