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

How to custom a multi-language params.sidebar.subtitle ? #1018

Closed
h2dcc opened this issue May 9, 2024 · 1 comment
Closed

How to custom a multi-language params.sidebar.subtitle ? #1018

h2dcc opened this issue May 9, 2024 · 1 comment

Comments

@h2dcc
Copy link

h2dcc commented May 9, 2024

What happened?

Hello, I'm trying to add a language to my website but I noticed there doesn't seem to be a multi-language option in the params.sidebar.subtitle setting.

params:
   sidebar:
        emoji: 
        subtitle: sample title
        avatar:
            enabled: true
            local: true
            src: img/avatar.png
@h2dcc
Copy link
Author

h2dcc commented May 29, 2024

It took a long time for no one to respond. I have already resolved this bug by replacing the subtitle function with the T function in left.html, and adding the corresponding subtitle content for the languages in i18n.

@h2dcc h2dcc closed this as completed May 29, 2024
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