Skip to content

UMD Libraries Layout

Alfred J Lin edited this page Mar 12, 2026 · 1 revision

Overview

The UMD Libraries Layout is a custom Layout Builder section type provided by the UMD Libraries Layout Tools package. It is the recommended section type for all content pages and replaces the default Drupal layout sections.

When adding a new section in Layout Builder, select UMD Libraries Layout as the section type.

Layout Options

The UMD Libraries Layout section provides the following configuration options:

  • Full width — Removes the content container padding, allowing components such as Hero to span the full page width. Use this for the hero section only.
  • With sidebar — Enables a sidebar region alongside the main content area. Use this for content pages that include Side Navigation or search filters.
  • Use <main> element — Wraps the section in a <main> HTML landmark element. Enable this on the primary content section of each page (one per page).

Recommended Setup

For detailed setup guidance, see Content Area Layout (Layout Builder).

In general:

  • Use one full-width section for the Hero section.
  • Use one standard section (with or without sidebar) for all remaining page content.
  • Enable Use <main> on the content section.

Related

Clone this wiki locally