Initial Drupal 11 with DDEV setup
This commit is contained in:
18
web/core/modules/system/templates/feed-icon.html.twig
Normal file
18
web/core/modules/system/templates/feed-icon.html.twig
Normal file
@ -0,0 +1,18 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for a feed icon.
|
||||
*
|
||||
* Available variables:
|
||||
* - url: An internal system path or a fully qualified external URL of the feed.
|
||||
* - title: Title of the feed for describing the feed on the subscribe link.
|
||||
* - 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.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<a href="{{ url }}"{{ attributes.addClass('feed-icon') }}>
|
||||
{{ 'Subscribe to @title'|t({'@title': title}) }}
|
||||
</a>
|
||||
Reference in New Issue
Block a user