Skip to content

Commit da83b1f

Browse files
committed
setting a new default extension for macros
1 parent c1e93e9 commit da83b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/PatternEngine/Twig/TwigUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public static function loadMacros($instance) {
155155
// load defaults
156156
$macroDir = Config::getOption("sourceDir").DIRECTORY_SEPARATOR."_macros";
157157
$macroExt = Config::getOption("twigMacroExt");
158-
$macroExt = $macroExt ? $macroExt : "macro";
158+
$macroExt = $macroExt ? $macroExt : "macro.twig";
159159

160160
if (is_dir($macroDir)) {
161161

0 commit comments

Comments
 (0)