Skip to content

Preserve language selection #131

@janban-outlook

Description

@janban-outlook

I wrote some additional code to preserve the language selection, just like the site remembers the choice of light or dark mode. I think, if a user switches to a certain languages, that they want to see the same language when come back to your website next time.

See https://papasmurf.nl/en/blog/hugo_language/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions