Article page (text)
Article page text elements and article part embed object, for base theme 2.
The article page contains text elements and embedded object like headline, preamble, images, videos. Also some metadata.
The page also supports fact boxes, tables, podcasts, slideshows, pdf links, related articles, inline anchor links, marked text and quotes.
Content is rendered and shown as entered in Naviga Writer.
Wrapper
Article body wrapper looks like this:
Inline styles
Supported inline styles wherever possible in Writer:
Strong
<strong>
Emphasise
<em>
Highlight
<mark>
Anchor link
<a>
Body elements
Article document format used by Writer is NewsML, a standard xml format. Body text use elements. Elements are rendered in Naviga Web with views/article/element.twig
. You could override that in a child theme if you need to.
NewsML element | HTML element |
Blockquote |
|
Headline |
|
Subheadline
|
|
Body |
|
Drophead |
|
Preamble |
|
Ordered list |
|
Unordered list |
|
All other elements |
|
Create your own article template
Articles are rendered with single-article.php
, override that in your child theme to use own php code or twig.
Last updated