Closed BernatBC closed 5 months ago
Name | Link |
---|---|
Latest commit | bb54968d38a371491b1f6e393fa2e4c9bd7ea68f |
Latest deploy log | https://app.netlify.com/sites/toha-ci/deploys/6624001ddc2b220008aa6c80 |
Deploy Preview | https://deploy-preview-921--toha-ci.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Looks good to me! Thanks for the fix! Any chances to merge it to the main branch? How should approve it? Moreover, I have one question related to code can navBarTitle be multi-language variable or it is one global variable per project.
Hi @klugier, we'll have to wait for @hossainemruz. I'm just a user of this theme that sometimes contributes to it.
Regarding to your question, right now it's a global variable located in config.yaml
file. In order to be a per-language variable, we can put it in data/<language-code>/site.yaml
.
I think we should, it should be per language string not the global one. I can imagine I have different title per language. For example I just want to have "My space", but in my origin language (Polish) I would like to have "Moja przestrzeń".
Good point @klugier. I'll change it soon.
I've just moved the variable to data/<language-code>/site.yaml
. You can change the name by adding:
navBarTitle: "Name"
Hello @hossainemruz, Any changes to merge this change and create new release?
Hi @klugier! Sorry, for the delay. I was pretty busy last month. I am already in the process of reviewing the pending PRs. Hopefully, a new release in next week.
Thanks! That's good news! Glad that you merged this change.
Issue
Fixes #917
Description
If specified in
site.Params.navBarTitle
, that will be the name appearing in the navbar. If the parameter is not given, the value will besite.Title
. Update: In order to have a different value for each language, the variable has been moved todata/<language-code>/site.yaml
.Example config in
data/en/site.yaml
:Test Evidence
navBarTitle: "Custom name"