Skip to content

Default language #1125

@dcardosods

Description

@dcardosods

The theme I'm using has 3 files in the languages folder , default, fr-FR and zh-Hans.
I need English (default) as my site language. Leaving the language option in _config.yml blank doesn't fallback to default (as I suppose is the expected behavior). iissnan/hexo-theme-next#57 has more details.
In the line lib/theme/index.js#L26 it isn't checked if languages is null before adding it to the array. Maybe the bug is here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions