Building with Blocks

The new YaleSites platform features a variety of specialized content containers called Blocks designed to help site builders, editors, and content creators organize information.

Building with Blocks differs from writing in a Word document or using a traditional page-centric approach. This resource will help you understand the Blocks available and how to use them to make your content shine.

decorative

Think of each Block as a specific kind of content brick used to build a solid, high-quality website.

What are Blocks?

Blocks are robust, pre-designed components used to display and customize the content on your website.

We already break web pages into sections, such as the header, body, and footer. Blocks extend this by breaking your content into individual, self-contained pieces. A heading and paragraph become a Text Block, a photo becomes an Image Block, and so on. Embracing this new approach empowers editors to shift their focus to content rather than creating and maintaining code.

  • Blocks are designed to be combined, mixed, and matched based on your goals and objectives
  • Your content becomes easier to add, remove, manage, or rearrange
  • Content can be restyled with ease without impacting brand compliance or web accessibility
  • You’ll build your YaleSite with Blocks in an exciting new intuitive, visual editing environment

Introducing Layout Builder

Layout Builder is the visual editing environment where you’ll assemble the Blocks best suited to your content needs. Getting started is easy!

  1. Select a content type
  2. Complete the setup process and save
  3. Use Layout Builder to add Blocks
  4. Publish

Select a content type

Each content type uses a unique template that supports its specific use case. For example, Posts display a publish date and author byline, while Pages do not.

  • Page: Used to create everything from highly engaging homepages to simple text webpages.
  • Post: Publish time-based content such as news articles, blog posts, or announcements.
  • Event: Create and display individual hybrid, in-person, or virtual event listings on your website.
  • Profile: Manage and present profiles and directories on your website.

Complete the setup process

Manage Settings is where you’ll provide a title, optionally publish your content, and enter tags and “teaser” details. Some content types require additional fields, like Post’s author byline or Event’s logistics. Advanced settings can also be found in the Manage Settings sidebar, like options to include your new content in the site’s menu.

Teaser details

Your Teaser details display in Views, search engine result pages, and social sharing cards. By including Teaser details, you increase the chances of capturing your audience’s attention so they engage with your content.

  • Teaser Title: a succinct, scannable version of your title. The full title will be shown when someone views this content.
  • Teaser Text: summary text to pique your audience’s interest so they want to know more.
  • Teaser Media: a supporting thumbnail image that helps illustrate the main idea or topic of your content.

Save to continue

Content types are set to Publish by default, but you can toggle the Publish switch to the off position before saving to work in draft mode.

After completing the required fields, use Save to continue to Layout Builder. Before you add your first Block, use Save once more to complete the initial setup process.

The Add Block menu provides Block previews to help you select an appropriate Block

The “Add Block” menu is filterable and organized by type to speed up the design process.

Add Blocks

Select Edit Layout and Content in the top toolbar to enter building mode. This reveals the Add Block buttons. The number and placement of buttons will depend on the content type, while the region determines which Blocks are available.

  • Banner Region: an optional, visually engaging banner area used on the Page content type. Limited Block selection.
  • Content Region: the main content-building area for all content types. All Blocks are available.

When in Layout Builder, the Blocks you add are outlined with dashes to help you visualize where they begin and end.

Administrative Labels

The first field for each Block is the Administrative label. By default, Layout Builder previews content in real time as you build. This can be adjusted in the Display options or sidebar to show labels instead.

  • Used to identify and manage Blocks—enter clear, descriptive, easily recognizable labels
  • Displays when Preview content is disabled
  • Can simplify organizing, rearranging, and managing Block-heavy pages

Previewing content

Once you’ve added a Block to your page in Layout Builder, additional options will become available. Use Configure to edit the Block, drag and drop your Blocks to change the order content appears on your page, and continue to add or remove Blocks, refining your content as needed.

Publishing content

We’ve included several pathways to simplify the process for editors. You can use the Publish link in the top toolbar, use the More Actions menu to switch between publish states, or publish on the Manage Settings screen.

Working with content in Blocks

Transitioning from a page-centric mindset may be challenging at first but can yield exemplary results. Understanding your goals, objectives, and user needs before you build simplifies the process and helps set you up for success.

  1. Center your goals, objectives, and user needs. This helps to inform your overall site structure, as well as where to place Blocks and which Blocks to use.
    • Outline your content before you start building
    • Prioritize your most important information and calls to action
    • Consider what you’d like your users to do next and guide them along this path
    • Know what success looks like so you’re prepared to evaluate your approach
       
  2. Consider your content requirements before selecting a Block.
    • Will you need to feature a call to action, and if so, what level of prominence is appropriate?
    • Do you need to attach media assets, and if so,  do those media assets require captions or attribution?
    • Can you apply Tags and use the View Block to display content efficiently?
       
  3. Consider the relationship and proximity of Blocks. Just as excessive, unstructured text can lead to page abandonment, too many visual elements in close proximity can yield the same results.
    • Give your Blocks room to breathe
    • Keep your calls to action focused so they’re not in competition with each other
       
  4. Don’t be afraid to experiment!
    • Create a clone of your content and switch up your Block selections when you’re uncertain which Block best supports your needs. Then, share both versions of your content with colleagues to gather feedback on which works best.
    • Adjust your theme settings to unlock alternate style options for Blocks

Get to know the Blocks

We’ve designed the YaleSites Blocks to help you build confidently! Learn more about best practices and use cases for the Blocks.

Already familiar with the Blocks? Download the reference sheet to speed up the Block selection process as you build.

The Text Block features a What You See Is What You Get (WYSIWYG) editor that behaves like word processing software. Text is your go-to Block for text content, including headings, paragraphs, lists, and tables.

  • Use headings. Helps users quickly understand your page structure and navigate your content
  • Use multiple Text Blocks. Simplifies rearranging, removing, or incorporating additional Blocks
  • Identify calls to action in advance. Some Blocks support featuring prominent calls to action

Use the Image Block to add a single, standalone image to your content.

  • Image appears separate from text and surrounding Blocks
  • Option to include a caption
  • Supports varying aspect ratios

If you’d like to present an image alongside text, select the Wrapped Image Block instead.

Use the Video Block to add a YouTube or Vimeo video to your website. When using Add Media, enter the URL for your video, adjust the imported name if necessary, and use Save to add the video to your Media Library.

  • Videos in the Media Library are available for use across your site
  • The Video Title and Description will display beneath your video to provide additional context for users

Use the Wrapped Image Block to add an inline image to your content. The text entered in this Block flows around your selected image.

  • Adjust the image’s position and style with Design Options
  • Option to include a caption
  • Supports varying aspect ratios

Use the Quote Block to emphasize or highlight text, such as a key point from an article, a statement on a profile, a testimonial, or another type of quotation.

The Quote Block works well for interviews or lengthy news articles, as it helps break up long blocks of text.

  • Include attribution as necessary
  • Use design options to change Quote’s appearance
  • Limit usage based on page length and content goals
  • Avoid placing multiple Quote Blocks near each other on your page

The Button Link Block helps to emphasize the importance of a call to action on your page. A user can scan your page and quickly determine where they can take action.

  • Reserve the Button Link Block for important links
  • Keep Button Link text short, clear, and actionable
  • Calls to action should be related when using paired Button Links
  • Limit the number of calls to action on a page to avoid overwhelming and confusing your audience

The Callout Block is designed to draw attention to an important call to action on your page. Consider what actions users need to take next when deciding where to place the Callout Block.

  • Supports including optional summary text
  • You can feature one or two Callouts per Block
  • Can be styled with design options
  • Color combinations determined by Theme Settings
  • Creates a visual break within your content when used between Blocks or hugs the footer when used last on a page

The Divider Block adds a horizontal line between Blocks to create a visual break. Dividers can make it easier to scan and navigate your content.

  • Works best to divide content so users can quickly differentiate between sections
  • Overusing Divider can make your page appear cluttered and difficult to read
  • Control the positioning and page width with Design Options
  • Appearance may change based on your Theme Settings

The Content Spotlight Block combines an image, adjacent text, and a call to action. Use this Block to highlight or promote your featured content.

  • Requires an image and copy
  • Supports robust copy and an option to include a subheading and call to action
  • Includes image placement and focus style options
  • Can be used concurrently
  • Can improve wayfinding when used on homepages and landing pages
  • When using multiple Callout Blocks, alternate your image placement and consider including Dividers between your Blocks

The Quick Links Block is designed to highlight a group of related calls to action in an eye-catching way. Consider what actions users need to take next when deciding where to place the Quick Links Block.

  • Use when you have three or more related links
  • Supports including optional summary text
  • Button placement adjusts to a user’s screen size
  • Includes an option to add a subtle background image to the Quick Links banner
  • Creates a visual break within your content when used between Blocks or hugs the footer when used last on a page

The Gallery Block allows you to easily display a collection of images on your website. Add items as needed. You can drag and drop to rearrange them or adjust their order by numerical weight.

  • Images are interactive. Users can view media items in an accessible lightbox gallery
  • Supports including headings and captions

If your media assets do not require attribution or interaction, use the Media Grid Block instead.

The Media Grid Block allows you to easily display a collection of images on your website. Add items as needed. You can drag and drop to rearrange them or adjust their order by numerical weight.

  • Displays a collection of images within a responsive grid
  • Images are not interactive
  • Does not support captions

If your media assets require attribution or you would like users to be able to interact with media items, use the Gallery Block instead.

Accordion is an interactive Block that allows users to choose which sections of content to expand and explore further. Accordion Blocks work best when your content falls into natural groupings that only some users will need to access.  

  • Accordions are collapsed by default
  • Keep critical information outside of accordions
  • Use clear, unique, and descriptive headings
  • Limit the amount of content presented within accordions and the number of Accordion Blocks used on a page

Both Tabs and Accordions help organize and consolidate content but have different use cases.

  • Use the Accordion Block when users need to view more than one item at a time
  • Use the Tab Block for related, self-contained categories of content that are neither sequential nor interdependent
  • When in doubt, use the Text Block and organize your content with clear, descriptive headings

Use the Embed Block to display external resources within your site, such as a Microsoft Power BI report.

When using Add Media, enter an embed code or URL, provide a Title, and use Save to add the external content to your Media Library.

  • Examples of the supported formats and options are available within the Block
  • Once added to the Media Library, your external content is available for use across your site
  • Not intended for embedding video content. Use the Video Block instead.

The Custom Card Block creates a collection of easy-to-scan, visually engaging pathways to additional content. This Block can be used to guide visitors deeper into your own website or to link your audience to external resources.

  • Headings are required and used as link text
  • Images and summary text are optional
  • Include elements consistently for each Card Item
  • Can improve wayfinding when used on homepages and landing pages

The Action Banner is designed to capture your audience’s attention. Use this Block to promote key messaging and calls to action.

  • Combines a background image, heading, and call to action
  • Option to include limited supporting text
  • Design options for overlay position and color
  • Can be used in the Banner or Content Region of your page
  • Should not be used concurrently
  • Intended for minimal copy and prominent calls to action
  • Using multiple Action Banners on a page may overwhelm or confuse users

The Grand Hero is designed to capture your audience’s attention. Use this Block to promote key messaging and calls to action.

  • Combines an image or video background with a heading
  • Option to include supporting text and a call to action
  • Design options for banner height and overlay coverage
  • Can only be used in the Banner Region

When using this Block, it’s important to plan for regular updates to keep your users engaged.

  • Embrace the character limits and use concise and compelling copy
  • Keep your call-to-action text short and use actionable language
  • Select relevant, high-quality media using images or videos that provide additional context. Avoid using graphics, logos, branding, or images of text

Use the Post Feed Block to quickly add a dynamic list of all published Posts to your site. This Block is an excellent choice when creating a landing page for your Posts.

  • Feeds display all in reverse chronological order
  • Automatically updates when new Posts are published
  • Optional Title displays above your feed, providing additional context for visitors
  • Includes an option for site visitors to filter Posts by category

Use the View Block when you need to control how many Posts are displayed, show Posts in a grid, or refine your content by Tag.

Use the Calendar List Block to quickly add a dynamic list of all published Events to your site. This Block is an excellent choice when creating a landing page for your Events.

  • Feeds display all future Events in chronological order
  • Automatically updates when new Events are published
  • The optional Title displays above your feed, providing additional context for visitors
  • Includes an option for site visitors to filter Events by category

Use the View Block when you need to include Past Events, control the number of Events shown, or otherwise refine your displayed content.

Use the Profile Directory Block to easily add a dynamic directory to your site. This Block is an excellent choice when creating a Contact page for your YaleSite.

  • Displays detailed contact information for active Profiles in alphabetical order
  • Automatically updates when new Profiles are created or removed
  • The optional Title displays above your directory, providing additional context for visitors
  • Includes an option for site visitors to filter Profiles by affiliation

Use the View Block when you need to control the number of Profiles shown or otherwise refine the display of your directory.

At a basic level, the View Block can quickly add dynamic Post, Event, and Profile feeds to your site.

While the View Block features a variety of settings and options, you’re only required to provide an Administrative Label, select the content type to show, and how you would like it displayed.

  • Optional View Heading displays above your feed
  • Show a feed of Posts, Events, Pages, or Profiles
  • Choose a display type of either a Card Grid,  List, or Condensed
    • Profile has an optional Directory Grid display type
  • Easily adjust how your feed is sorted
  • Manage the number of items to display
  • Refine Views by terms

When combined with tags, View empowers you to create and display groups of dynamically updated content on your website.

Consider your content organization needs before you begin building. This will help you apply tags accordingly.

Example: You want to build a Resources section. During Setup, apply a ‘resources’ tag to each Resource page. To create a Resources landing page, add a View Block, select Pages, and opt only to include content that uses the term ‘resources.’ Your landing page will automatically update whenever you publish a new page using the ‘resources’ tag.

Quickly add a form to your site using the Pre-Built Form Block. Simply select your preferred form, provide a title, and add the Block to your page.

  • Not intended for form creation. You can build custom forms and surveys in Qualtrics and use the Embed Block to add them to your site
  • Manage form submissions within your administrative dashboard
  • Pre-Built Forms can be set to open, closed, or scheduled on a per Block basis

Tabs are another interactive Block used to organize related groups of content into distinct categories. Unlike Accordions, only one Tab can be viewed at a time.

  • The first Tab is displayed by default
  • Use short, specific headings, ideally four words or fewer
  • Tabs should be related, but each Tab should be a self-contained chunk of information
  • Users may not view the contents of each Tab
  • Limit the amount of content presented in Tabs and the number of Tabs used

Both Tabs and Accordions help organize and consolidate content but have different use cases.

  • Use the Accordion Block when users need to view more than one item at a time
  • Use the Tab Block for related, self-contained categories of content that are neither sequential nor interdependent
  • When in doubt, use the Text Block and organize your content with clear, descriptive headings

Community Trainings

Hands-on training is available for anyone who has requested a YaleSite or is responsible for building a YaleSite.

Upcoming Trainings