We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e93e9 commit da83b1fCopy full SHA for da83b1f
src/PatternLab/PatternEngine/Twig/TwigUtil.php
@@ -155,7 +155,7 @@ public static function loadMacros($instance) {
155
// load defaults
156
$macroDir = Config::getOption("sourceDir").DIRECTORY_SEPARATOR."_macros";
157
$macroExt = Config::getOption("twigMacroExt");
158
- $macroExt = $macroExt ? $macroExt : "macro";
+ $macroExt = $macroExt ? $macroExt : "macro.twig";
159
160
if (is_dir($macroDir)) {
161
0 commit comments