W3cubDocs

/Drupal 8

aggregator-feed.html.twig

Default theme implementation to present an aggregator feed.

The contents are rendered above feed listings when browsing source feeds. For example, "example.com/aggregator/sources/1".

Available variables:

  • title: Title of the feed item.
  • content: All field items. Use {{ content }} to print them all, or print a subset such as {{ content.field_example }}. Use {{ content|without('field_example') }} to temporarily suppress the printing of a given element.

See also

template_preprocess_aggregator_feed()

File

core/modules/aggregator/templates/aggregator-feed.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!aggregator!templates!aggregator-feed.html.twig/8.1.x