Article page (text)
Article page text elements and article part embed object, for base theme 2.
Last updated
Was this helpful?
Article page text elements and article part embed object, for base theme 2.
Last updated
Was this helpful?
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.
Article body wrapper looks like this:
Supported inline styles wherever possible in Writer:
Strong <strong>
Emphasise <em>
Highlight <mark>
Anchor link <a>
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
<blockquote>
Headline
<h1 itemprop="name">
Subheadline
Subheadline [1-6]
<h2>
Body
<p class="ew_body">
Drophead
<p class="ew_drophead">
Preamble
<p class="ew_preamble" itemprop="description">
Ordered list
<div><ol><li>
Unordered list
<div><ul><li>
All other elements
<p>
Articles are rendered with single-article.php
, override that in your child theme to use own php code or twig.