Skip to content

Commit

Permalink
add "Localeswitcher anywhere/anyhow" to the mix.
Browse files Browse the repository at this point in the history
  • Loading branch information
SvanteRichter committed Jul 19, 2016
1 parent ada8d36 commit 3a881c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ file and add the following right before the closing `<ul>`:
{{localeswitcher(classes = 'menu submenu vertical')}}
```
####Localeswitcher anywhere/anyhow
If you want to output the localeswitcher (or some part of it) anywhere you have
access to an array called `locales` in basically any template that you use.
Using this you can craft basically any locale selector you want, see #30 for
more info. To see the structure please dump it by using `{{dump(locales)}}`.
####Overrides
This extension overrides bolt in a few different places and sometimes you want
Expand Down

0 comments on commit 3a881c2

Please sign in to comment.