openquestions-1.0.x-dev/templates/oq-item.html.twig

templates/oq-item.html.twig
{#
/**
 * @file
 * Default theme implementation to present an oq item entity.
 *
 * This template is used when viewing a canonical oq item page,
 *
 * Available variables:
 * - content: A list of content items. Use 'content' to print all content, or
 *   print a subset such as 'content.label'.
 * - attributes: HTML attributes for the container element.
 *
 * @see template_preprocess_oq_item()
 */
#}
<article{{ attributes }}>
  {% if view_mode != 'full' %}
    {{ title_prefix }}
    {{ title_suffix }}
  {% endif %}
  {% if content %}
    {{ content.attribution }}
    {{- content|without('attribution', 'uid', 'created') -}}
  {% endif %}
</article>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc