{%- 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/get-string-from-locale-config.html locale=_titles -%}
  {%- assign __return = __return -%}
{%- else -%}
  {%- assign __return = nil -%}
{%- endif -%}