summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-02-10 14:59:11 (GMT)
committerAlex Pott2015-02-10 14:59:11 (GMT)
commitb631c16a769dc5ff3f55637390d5daa0a8031f11 (patch)
treea7e938a4bbb76558dbd2200bab4ef5ce819c59d6
parent98a0fdacf4c1b7bc628a7a4ed22ba23ae31dc1d1 (diff)
Issue #1189806 by mortendk, lauriii, jussil, Dragan Eror, cluke009, DickJohnson, rteijeiro, tlattimore: Convert aggregator-item.html.twig to HTML5
-rw-r--r--core/modules/aggregator/templates/aggregator-item.html.twig6
-rw-r--r--core/themes/classy/templates/aggregator/aggregator-item.html.twig6
2 files changed, 4 insertions, 8 deletions
diff --git a/core/modules/aggregator/templates/aggregator-item.html.twig b/core/modules/aggregator/templates/aggregator-item.html.twig
index 1f04de5..2391ad8 100644
--- a/core/modules/aggregator/templates/aggregator-item.html.twig
+++ b/core/modules/aggregator/templates/aggregator-item.html.twig
@@ -16,13 +16,11 @@
* @ingroup themeable
*/
#}
-<div>
+<article{{ attributes }}>
{{ title_prefix }}
<h3>
<a href="{{ url }}">{{ title }}</a>
</h3>
{{ title_suffix }}
-
{{ content }}
-
-</div>
+</article>
diff --git a/core/themes/classy/templates/aggregator/aggregator-item.html.twig b/core/themes/classy/templates/aggregator/aggregator-item.html.twig
index 8f31937..a3cda41 100644
--- a/core/themes/classy/templates/aggregator/aggregator-item.html.twig
+++ b/core/themes/classy/templates/aggregator/aggregator-item.html.twig
@@ -16,13 +16,11 @@
* @ingroup themeable
*/
#}
-<div{{ attributes.addClass('aggregator-item') }}>
+<article{{ attributes.addClass('aggregator-item') }}>
{{ title_prefix }}
<h3 class="feed-item-title">
<a href="{{ url }}">{{ title }}</a>
</h3>
{{ title_suffix }}
-
{{ content }}
-
-</div>
+</article>