# Layouts Catalog

All the available layouts are exposed as JSP templates. Know the relative path of a layout (theme name + filename) to use it.

In addition to showing all the available layouts, this catalog provides:

  • Variants with mixins when they exist
  • Core sources that are used under the hood (jsp templates and scss files)

# Photo

Articles in a photo layout are square with a full-size photo, and the title on top of this photo.

# photo/photo

layouts-catalog-photo

Variants:

variant-fullwidthboxcolor

@mixin fullWidthBoxColorPhotoLayoutTitle($color: rgba(0, 0, 0, 0.8));

variant-highlightPhotoLayoutTitle

@mixin highlightPhotoLayoutTitle(
    $color: null,
    $backgroundColor: rgba(0, 0, 0, 0.8),
    $borderBottom: 4px solid,
    $photoHeight: null);

Core template: articleTemplates/imageTopWrapperAuthorFirst.jsp

Core SCSS: scss/layouts/photo/_photo.s.scss

# photo/photo_photoBigTitle

photo_photoBigTitle

Core template: articleTemplates/imageTopWrapperDateFirstFullBackground.jsp

# photo/photo_slider

Photo slider

Carousel with photo layouts. The number of items are determined as a layout descriptor attribute.

# photo/photo_grid_2

Photo grid 2

Composed by 2 photo/photo_flow.jsp next to each other.

Base is photo/photo.jsp.

# photo/photo_grid_6

Photo grid 6

Composed by 3 rows of 2 photo/photo_flow.jsp. Base is photo/photo.jsp.

# newspaper/photo_2

Newspaper photo 2

Composed by 2 articleTemplates/photo.jsp. Base is photo/photo.jsp.

# Pill

# newspaper/pill

Pill

Core template: articleTemplates/imageTop.jsp

# newspaper/pill_fullWidth

Pill full width

Core SCSS: scss/layouts/newspaper/_pill_fullWidth.s.scss

# newspaper/pill_fullWidth_card

Pill full width card

Core SCSS: scss/layouts/newspaper/_pill_fullWidth_card.s.scss

# newspaper/pill_topTitle

Pill top title

Core template: articleTemplates/imageMid.jsp

Core SCSS: scss/layouts/newspaper/_pill_topTitle.s.scss

# newspaper/imageBottom_titleSubtitleAuthor

Image bottom

Core template: articleTemplates/imageBottomTitleSubtitleAuthor.jsp

Core SCSS: scss/layouts/newspaper/imageBottom_titleSubtitleAuthor.s.scss

# newspaper/photo_titleOverlapLeft

Title overlap left

Core SCSS: scss/layouts/newspaper/photo_titleOverlapLeft.s.scss

# newspaper/photo_titleOverlap

Pill title overlap

@mixin colorPhotoTitleOverlap(
	$color: $secondary-color,
	$height: 350px,
	$textMargin: -100px,
	$aligment: center,
	$borderTop: 3px solid $color,
	$borderBottom: null,
	$borderLeft: null,
	$borderRight: null,
	$borderAll: null
);

Core template: articleTemplates/imageTopWrapperAuthorFirst.jsp Core SCSS: scss/layouts/photo/photo_titleOverlap.s.scss

# newspaper/pill_2

Pill 2

Composed by 2 newspaper/pill_flow.jsp next to each other.

Base is articleTemplates/imageTopWrapper.jsp.

# Thumb

# newspaper/thumb

Thumb

Core template: articleTemplates/imageTopWrapper.jsp Core SCSS: scss/layouts/newspaper/_thumb.s.scss

# newspaper/thumb_reverse

Thumb reverse

Core template: articleTemplates/imageTopWrapperTitleFirst.jsp Core SCSS: scss/layouts/newspaper/_thumb_reverse.s.scss

# newspaper/thumb_card

Thumb card

Core template: articleTemplates/imageTopWrapper.jsp Core SCSS: scss/layouts/newspaper/_thumb_card.s.scss

# Only text

# newspaper/thumb_text

Thumb text

Core template: articleTemplates/noImage.jsp

# newspaper/text_compact

Text compact

# newspaper/breakingNews

Breaking news

# Opinion

# newspaper/opinion

Breaking news

Core template: articleTemplates/opinion.jsp

# newspaper/author

Breaking news

Core template: articleTemplates/author.jsp

# newspaper/opinion_imgReverseBottom

Breaking news

Core template: articleTemplates/titleQuote.jsp

# newspaper/author_imgReverseBottom

Breaking news

Core template: articleTemplates/author.jsp