views-view-opml.html.twig in Drupal 10
Same filename in this branch
- 10 core/modules/views/templates/views-view-opml.html.twig
- 10 core/themes/starterkit_theme/templates/views/views-view-opml.html.twig
- 10 core/themes/classy/templates/views/views-view-opml.html.twig
- 10 core/themes/stable9/templates/views/views-view-opml.html.twig
- 10 core/themes/stable/templates/views/views-view-opml.html.twig
Same filename and directory in other branches
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 also
File
core/themes/stable9/templates/views/views-view-opml.html.twigView source
- {#
- /**
- * @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>