Default theme implementation to present the source of the feed.
The contents are rendered above feed listings when browsing source feeds. For example, "example.com/aggregator/sources/1".
Available variables:
template_preprocess_aggregator_feed_source()
- {#
- /**
- * @file
- * Default theme implementation to present the source of the feed.
- *
- * The contents are rendered above feed listings when browsing source feeds.
- * For example, "example.com/aggregator/sources/1".
- *
- * Available variables:
- * - source_icon: Feed icon linked to the source. Rendered through
- * feed-icon.html.twig.
- * - source_image: Image set by the feed source.
- * - source_description: Description set by the feed source.
- * - source_url: URL to the feed source.
- * - last_checked: How long ago the feed was checked locally.
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_feed_source()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes}}>
- {{ source_icon }}
- {{ source_image }}
- <div class="feed-description">
- {{ source_description }}
- </div>
- <div class="feed-url">
- <em>{{ 'URL'|t }}:</em> <a href="{{ source_url }}">{{ source_url }}</a>
- </div>
- <div class="feed-updated">
- <em>{{ 'Updated'|t }}:</em> {{ last_checked }}
- </div>
- </div>