Skip to content

Teaser features

Matt Hinchliffe edited this page Mar 27, 2018 · 17 revisions

Meta

  • 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)

Title text

  • 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

Standfirst

  • Display a standfirst
  • Allow standfirst text to be enabled/disabled
  • Enable configuration of an alternative standfirst variant

Thumbnail image

  • 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

Headshot image

  • 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

Extra stuff

  • Display a premium label
  • Allow external components/markup to be passed in, e.g. "Save to MyFT" button

Date/time/status

  • Display basic date stamp
  • Enable configuration of to display date as a relative time with new or updated prefix
  • Logic to append new or updated class name to
  • Logic to display live blog status
  • Allow date/time/status to be enabled/disabled
  • Integration with o-date

Video content

  • Display a Video concept prefix †
  • Enable configuration of in-situ video
  • Display concept suffix as video duration †

Related content

  • Display any given related links

Package content

  • TODO

Theming

  • 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