uikit-8.x-3.x-dev/templates/misc/feed-icon.html.twig

templates/misc/feed-icon.html.twig
{#
/**
 * @file
 * Theme override to display a feed icon.
 *
 * Available variables:
 * - url: An internal system path or a fully qualified external URL of the feed.
 * - site_name: The name of the site as reported in the system configuration.
 * - 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.
 *
 * @see uikit_preprocess_feed_icon()
 *
 * @ingroup uikit_themeable
 */
#}
{% set link_title = 'Subscribe to @title'|t({'@title': site_name}) %}
<div class="uk-display-block uk-margin-top">
  <a href="{{ url }}" title="{{ link_title }}"{{ attributes.addClass('feed-icon') }}><i class="uk-text-top" uk-icon="icon: rss; ratio: 0.8"></i> {{ link_title }}</a>
</div>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc