Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Modifying the Standard Header & Footer for Patterns

Dave Olsen edited this page Jul 8, 2013 · 3 revisions

When the PHP version of Pattern Lab compiles each pattern it appends a standard header and footer onto each. The header and footer can be found in:

source/templates/pattern-header-footer/

If you want to include a standard JavaScript library for every pattern or if you want to add a custom CSS file to each simply edit the appropriate file.

Important: Please refrain from removing the JavaScript in the footer. This code helps make several of the Pattern Lab features like Page Follow work properly.