Subpage Layout

Web pages throughout your site are either single page types, native to Nationbuilder (e.g Basic, Sign-up, Volunteer etc) or a composite page built from two or more subpages used to create "modules" in a "parent" page.

The “Parent” page that is being built out of all the modules (typically the home / landing page) - is a basic page with the tag subpage_layout. This parent page will also have the page setting “Include in support nav” checked. Each module on this parent page will be represented by a basic subpage as well - the subpage_layout tag triggers logic that cycles through all subpages to display them as modules. Each subpage page will also have the “Include in support nav” page setting checked. This allows us to easily re-order and re-arrange the modules from the “Parent” page’s Sub nav pages tab.

#Page Slugs

Within NationBuilder, each page needs a unique page slug. Since the Subpage Layout modules should never actually be directly visited, it's ok to have long slug names. Our suggested method of naming these Subpage Layout module slugs is to include the parent page's slug as a prefix.

Example page slug: homepage_text_banner