Comments (4)
You should try updating your navigation template to something like this...
This compares the language in the page from the loop to the language in the actual current page to see if they should be rendered.
from grunt-assemble-i18n.
Big thank you for a nice lead.
Instead of this, I had to use data, but now it's working
from grunt-assemble-i18n.
👍 thanks for posting the working solution! very helpful for others with similar issues
from grunt-assemble-i18n.
thanks for posting this! exactly what i was looking for.
from grunt-assemble-i18n.
Related Issues (20)
- "with-plugin" task fails: No source files found HOT 2
- Add documentation HOT 30
- Warning: The 'language' parameter is not defined HOT 16
- Stack overflow on language in front matter HOT 4
- Out of memory on compilation HOT 26
- Keep folder structure inside language folder? HOT 4
- Complementary plugin (shameless plug :P) HOT 2
- Convert to assemble v0.6.0 HOT 2
- Suggestion: make replacement of page file name optional HOT 18
- v0.1.3
- README.md cannot be generated using Verb HOT 4
- Allow language files to be divided or data to be nested HOT 6
- language not being set HOT 7
- i18n navigation HOT 6
- arrays and front-matter variables HOT 9
- problem with translation strings for pages HOT 6
- Moving to `grunt-assemble-i18n` HOT 2
- `i18n` helper inside `each` helper results in: The 'language' parameter is not defined HOT 16
- moderate severity security vulnerability on handlebars dependency HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-assemble-i18n.