Skip to content

Commit

Permalink
- changed default value for active_as_link
Browse files Browse the repository at this point in the history
- updated docs
  • Loading branch information
feskol committed Feb 24, 2025
1 parent a6e7780 commit 309aca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion src/FeskolNavigationBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
;
Expand Down

0 comments on commit 309aca4

Please sign in to comment.