-
Notifications
You must be signed in to change notification settings - Fork 6
Teaser features
Matt Hinchliffe edited this page Mar 27, 2018
·
17 revisions
- Display a concept prefix †
- Display a concept †
- Display a concept suffix*
- Logic to display an alternative concept when the current context is the same as first display concept †
- Link concept to the concept URL
- Allow concept to be enabled/disabled
- Display a promotional prefix (sponsored content)
- Display a promotional suffix (sponsored content)
- Display title text
- Allow title text to be enabled/disabled (for consistency)
- Enable configuration of an alternative title variant
- Link title text to the content URL
- Display a standfirst
- Allow standfirst text to be enabled/disabled
- Enable configuration of an alternative standfirst variant
- Display a thumbnail image
- Allow thumbnail image to be enabled/disabled
- Enable configuration of thumbnail image size via Origami Image Service
- Link thumbnail image to the content URL
- Logic to append
has-image
class name to the teaser
- Display a headshot image †
- Allow headshot image to be enabled/disabled
- Logic to append a
has-headshot
class name to the teaser - Enable configuration of headshot image tint
- Display a
premium
label - Allow external components/markup to be passed in, e.g. "Save to MyFT" button
- Display basic date stamp
- Enable configuration of to display date as a relative time with
new
orupdated
prefix - Logic to append
new
orupdated
class name to - Logic to display live blog status
- Allow date/time/status to be enabled/disabled
- Integration with o-date
- Display a
Video
concept prefix † - Enable configuration of in-situ video
- Display concept suffix as video duration †
- Display any given related links
- TODO
- Enable configuration of
opinion
theme † - Enable configuration of
highlight
(Editor's Choice) theme † - Enable configuration of other teaser modifier class names
- Logic to append content type class name
- Logic to append live blog status class name
- Logic to append content syndication status class name †
† move logic into ingestion process
* client-side ads only