You are here

pdf-generator-feed-icon.html.twig in PDF Generator 8

Same filename and directory in other branches
  1. 2.0.x templates/pdf-generator-feed-icon.html.twig

Default theme implementation for a feed icon.

Available variables:

  • url: An internal system path or a fully qualified external URL of the feed.
  • attributes: Remaining HTML attributes for the feed link.
    • title: A descriptive title of the feed link.
    • class: HTML classes to be applied to the feed link.

File

templates/pdf-generator-feed-icon.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  13. */
  14. #}
  15. <a href="{{ url }}"{{ attributes.addClass('feed-icon') }}>
  16. {{ title }}
  17. </a>