Drupal module for Modern.Gov template page generation.
Modern.Gov, when provided with a template page URL, fetches that template page at a regular interval. It then uses the template page to generate your instance of the Modern.Gov site.
This module serves the Modern.Gov template page from the /moderngov-template path. If you need a different path then please add a URL alias for /moderngov-template.
The template page has the the following ModernGov tokens embedded within:
{pagetitle}
instead of the actual Drupal page title.{breadcrumb}
instead of the Drupal breadcrumb.{content}
instead of the page content.{sidenav}
instead of the second sidebar.Both links and asset URLs in this Modern.Gov template page are rendered as absolute URLs which is a requirement for Modern.Gov template pages.
Most sites will need a customized Modern.Gov page template for their themes. The page template provided with this module is meant to serve as an example of how Modern.Gov tokens could be placed in a page template.
main
HTML tag.header
HTML tag. Comes with asset links that preceed the header
tag.footer
HTML tag. Joined by asset links that follow the footer
tag.This project is currently maintained by: