annotate core/modules/aggregator/templates/aggregator-item.html.twig @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 {#
Chris@0 2 /**
Chris@0 3 * @file
Chris@0 4 * Default theme implementation to present a feed item in an aggregator page.
Chris@0 5 *
Chris@0 6 * Available variables:
Chris@0 7 * - url: URL to the originating feed item.
Chris@0 8 * - title: Title of the feed item.
Chris@0 9 * - content: All field items. Use {{ content }} to print them all,
Chris@0 10 * or print a subset such as {{ content.field_example }}. Use
Chris@0 11 * {{ content|without('field_example') }} to temporarily suppress the printing
Chris@0 12 * of a given element.
Chris@0 13 * - attributes: HTML attributes for the wrapper.
Chris@0 14 * - title_prefix: Additional output populated by modules, intended to be
Chris@0 15 * displayed in front of the main title tag that appears in the template.
Chris@0 16 * - title_suffix: Additional output populated by modules, intended to be
Chris@0 17 * displayed after the main title tag that appears in the template.
Chris@0 18 *
Chris@0 19 * @see template_preprocess_aggregator_item()
Chris@0 20 *
Chris@0 21 * @ingroup themeable
Chris@0 22 */
Chris@0 23 #}
Chris@0 24 <article{{ attributes }}>
Chris@0 25 {{ title_prefix }}
Chris@0 26 <h3>
Chris@0 27 <a href="{{ url }}">{{ title }}</a>
Chris@0 28 </h3>
Chris@0 29 {{ title_suffix }}
Chris@0 30 {{ content }}
Chris@0 31 </article>