Skip to content

Remove all usages of default_lang #43

@UltCombo

Description

@UltCombo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions