Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all usages of default_lang #43

Open
UltCombo opened this issue Jan 29, 2016 · 0 comments
Open

Remove all usages of default_lang #43

UltCombo opened this issue Jan 29, 2016 · 0 comments

Comments

@UltCombo
Copy link
Member

The next version of Harmonic intends to remove the post.default_lang template variable. It is time to replace all of its occurrences with something that actually makes sense.

It looks like we were using it only for categories. We could replace it with config.i18n.default !== post.lang in the templates, but perhaps adding a categories_permalink to the Harmonic's config file would be the best way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant