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:
parent
a1c0057f9a
commit
7130983969
@ -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) : "";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user