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

Commit 7130983

Browse files
committed
move the shared pattern header and footer to a _meta dir
1 parent a1c0057 commit 7130983

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

core/lib/PatternLab/Template/Helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public static function setup() {
3535
$extraFoot = file_get_contents(__DIR__."/../../../templates/pattern-header-footer/footer-pattern.html");
3636

3737
// gather the user-defined header and footer information
38-
$patternHeadPath = __DIR__."/..".Config::$options["patternSourceDir"]."00-atoms/00-meta/_00-head.mustache";
39-
$patternFootPath = __DIR__."/..".Config::$options["patternSourceDir"]."00-atoms/00-meta/_01-foot.mustache";
38+
$patternHeadPath = Config::$options["sourceDir"]."/_meta/_00-head.mustache";
39+
$patternFootPath = Config::$options["sourceDir"]."/_meta/_01-foot.mustache";
4040
$patternHead = (file_exists($patternHeadPath)) ? file_get_contents($patternHeadPath) : "";
4141
$patternFoot = (file_exists($patternFootPath)) ? file_get_contents($patternFootPath) : "";
4242

0 commit comments

Comments
 (0)