Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
|
@ -0,0 +1,28 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override to display an item in a views RSS feed.
|
||||
*
|
||||
* Available variables:
|
||||
* - title: RSS item title.
|
||||
* - link: RSS item link.
|
||||
* - description: RSS body text.
|
||||
* - item_elements: RSS item elements to be rendered as XML (pubDate, creator,
|
||||
* guid).
|
||||
*
|
||||
* @see template_preprocess_views_view_row_rss()
|
||||
*/
|
||||
#}
|
||||
<item>
|
||||
<title>{{ title }}</title>
|
||||
<link>{{ link }}</link>
|
||||
<description>{{ description }}</description>
|
||||
{% for item in item_elements -%}
|
||||
<{{ item.key }}{{ item.attributes -}}
|
||||
{% if item.value -%}
|
||||
>{{ item.value }}</{{ item.key }}>
|
||||
{% else -%}
|
||||
{{ ' />' }}
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
</item>
|
Reference in a new issue