Skip to content

Change html lang with adapter-static #5508

@YeungKC

Description

@YeungKC

Describe the problem

I have make a Blog using Svelte kit, it is data driven through Github discussions.

Case all data is via environment or Github discussion, you can set a default lang with env or config, and specific post set lang with post frontmatter.

I found a solution, but it is not compatible with adapter-static.
#3091 (comment)

Describe the proposed solution

Maybe provid like <svelte:head> a <svelte:html>?

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

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