Project

General

Profile

Actions

Patch #19339

closed

Put news articles into <article> tags

Patch #19339: Put news articles into <article> tags

Added by An Phan over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
News
Target version:

Description

The news article HTML should be wrapped in <article> tags. This follows HTML5 practices, and makes theme styling easier.


Files

better-news-structure.diff (1.34 KB) better-news-structure.diff An Phan, 2015-03-11 07:18

Updated by Toshi MARUYAMA over 11 years ago Actions #1

  • Target version set to 3.1.0

Updated by Jean-Philippe Lang over 11 years ago Actions #2

Why not doing the same on the news detail page, eg. /news/1?

Updated by An Phan over 11 years ago Actions #3

We sure can, but is it necessary though? The news details are directly wrapped in the #main div itself.

Updated by Jean-Philippe Lang over 11 years ago Actions #4

  • Subject changed from Put news articles into, well, <article> tags to Put news articles into <article> tags
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Comitted in r14308, thanks.

Actions

Also available in: PDF Atom