1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-16 21:58:19 +01:00

move the shared pattern header and footer to a _meta dir

This commit is contained in:
Dave Olsen 2014-06-03 16:16:01 -04:00
parent a1c0057f9a
commit 7130983969
3 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ class Helper {
$extraFoot = file_get_contents(__DIR__."/../../../templates/pattern-header-footer/footer-pattern.html");
// gather the user-defined header and footer information
$patternHeadPath = __DIR__."/..".Config::$options["patternSourceDir"]."00-atoms/00-meta/_00-head.mustache";
$patternFootPath = __DIR__."/..".Config::$options["patternSourceDir"]."00-atoms/00-meta/_01-foot.mustache";
$patternHeadPath = Config::$options["sourceDir"]."/_meta/_00-head.mustache";
$patternFootPath = Config::$options["sourceDir"]."/_meta/_01-foot.mustache";
$patternHead = (file_exists($patternHeadPath)) ? file_get_contents($patternHeadPath) : "";
$patternFoot = (file_exists($patternFootPath)) ? file_get_contents($patternFootPath) : "";