Mercurial > hg > isophonics-drupal-site
annotate core/modules/aggregator/templates/aggregator-feed.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 an aggregator feed. |
Chris@0 | 5 * |
Chris@0 | 6 * The contents are rendered above feed listings when browsing source feeds. |
Chris@0 | 7 * For example, "example.com/aggregator/sources/1". |
Chris@0 | 8 * |
Chris@0 | 9 * Available variables: |
Chris@0 | 10 * - title: Title of the feed item. |
Chris@0 | 11 * - content: All field items. Use {{ content }} to print them all, |
Chris@0 | 12 * or print a subset such as {{ content.field_example }}. Use |
Chris@0 | 13 * {{ content|without('field_example') }} to temporarily suppress the printing |
Chris@0 | 14 * of a given element. |
Chris@0 | 15 * - title_attributes: Same as attributes, except applied to the main title |
Chris@0 | 16 * tag that appears in the template. |
Chris@0 | 17 * - title_prefix: Additional output populated by modules, intended to be |
Chris@0 | 18 * displayed in front of the main title tag that appears in the template. |
Chris@0 | 19 * - title_suffix: Additional output populated by modules, intended to be |
Chris@0 | 20 * displayed after the main title tag that appears in the template. |
Chris@0 | 21 * |
Chris@0 | 22 * @see template_preprocess_aggregator_feed() |
Chris@0 | 23 * |
Chris@0 | 24 * @ingroup themeable |
Chris@0 | 25 */ |
Chris@0 | 26 #} |
Chris@0 | 27 {{ title_prefix }} |
Chris@0 | 28 {% if not full %} |
Chris@0 | 29 <h2{{ title_attributes }}>{{ title }}</h2> |
Chris@0 | 30 {% endif %} |
Chris@0 | 31 {{ title_suffix }} |
Chris@0 | 32 |
Chris@0 | 33 {{ content }} |