diff --git a/core/lib/PatternLab/Template/Helper.php b/core/lib/PatternLab/Template/Helper.php index 63f7c27..2062e4e 100644 --- a/core/lib/PatternLab/Template/Helper.php +++ b/core/lib/PatternLab/Template/Helper.php @@ -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) : ""; diff --git a/core/source/_patterns/00-atoms/00-meta/_00-head.mustache b/core/source/_meta/_00-head.mustache similarity index 100% rename from core/source/_patterns/00-atoms/00-meta/_00-head.mustache rename to core/source/_meta/_00-head.mustache diff --git a/core/source/_patterns/00-atoms/00-meta/_01-foot.mustache b/core/source/_meta/_01-foot.mustache similarity index 100% rename from core/source/_patterns/00-atoms/00-meta/_01-foot.mustache rename to core/source/_meta/_01-foot.mustache