This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/core/themes/classy/templates/views/views-view-opml.html.twig

24 lines
501 B
Twig

{#
/**
* @file
* Theme override for feed displays that use the OPML style.
*
* Available variables:
* - title: The title of the feed (as set in the view).
* - updated: The modified date of the feed.
* - items: The feed items themselves.
*
* @see template_preprocess_views_view_opml()
*/
#}
<?xml version="1.0" encoding="utf-8" ?>
<opml version="2.0">
<head>
<title>{{ title }}</title>
<dateModified>{{ updated }}</dateModified>
</head>
<body>
{{ items }}
</body>
</opml>