diff --git a/docs/config.md b/docs/config.md index 97a80d3..b1c7412 100644 --- a/docs/config.md +++ b/docs/config.md @@ -18,14 +18,14 @@ feskol_navigation: ## Config explained -### `template` +### `template` (default: `@FeskolNavigation/_navigation.html.twig`) With the `template` config, you can change the default template for rendering Navigations. Refer to [How to create a navigation template](template.md) for template guidance. -### `active_as_link` +### `active_as_link` (default: `true`) If the `active_as_link` config is set to `true`, then the links that have their `isActive`-status set to `true`, will also be rendered as normal links ( diff --git a/src/FeskolNavigationBundle.php b/src/FeskolNavigationBundle.php index 2966475..68a20a8 100644 --- a/src/FeskolNavigationBundle.php +++ b/src/FeskolNavigationBundle.php @@ -33,7 +33,7 @@ public function configure(DefinitionConfigurator $definition): void ->end() ->booleanNode('active_as_link') ->info('Set true to render an active navigation item as a link tag') - ->defaultFalse() + ->defaultTrue() ->end() ->end() ;