"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.9/core/themes/stable/templates/misc/feed-icon.html.twig" (18 Nov 2020, 454 Bytes) of package /linux/www/drupal-8.9.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Theme override for a feed icon.
    5  *
    6  * Available variables:
    7  * - url: An internal system path or a fully qualified external URL of the feed.
    8  * - attributes: Remaining HTML attributes for the feed link.
    9  *   - title: A descriptive title of the feed link.
   10  *   - class: HTML classes to be applied to the feed link.
   11  */
   12 #}
   13 <a href="{{ url }}"{{ attributes.addClass('feed-icon') }}>
   14   {{ 'Subscribe to @title'|t({'@title': title}) }}
   15 </a>