Mercurial > hg > isophonics-drupal-site
view core/modules/aggregator/templates/aggregator-item.html.twig @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Default theme implementation to present a feed item in an aggregator page. * * Available variables: * - url: URL to the originating feed item. * - 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. * - attributes: HTML attributes for the wrapper. * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * * @see template_preprocess_aggregator_item() * * @ingroup themeable */ #} <article{{ attributes }}> {{ title_prefix }} <h3> <a href="{{ url }}">{{ title }}</a> </h3> {{ title_suffix }} {{ content }} </article>