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

Customize navi bar's name #1010

Open
jackwu925 opened this issue Nov 2, 2024 · 2 comments
Open

Customize navi bar's name #1010

jackwu925 opened this issue Nov 2, 2024 · 2 comments

Comments

@jackwu925
Copy link

Question

Do we have any method to customize the name of "Posts"? For example, change the name "Posts" on the main page into "Thoughts".
image

@jamesdeluk
Copy link

jamesdeluk commented Nov 3, 2024

I was thinking about this a couple of days ago. Even changing it to "All Posts" would be nice.

EDIT: This can be done with languages. Create a i18n in the root, then create a en.toml file, and in that add:

[posts]
other = "Thoughts"

The other phrases seem to be taken from the default one, but there are some useful ones, such as the 404 message.

@hossainemruz
Copy link
Member

@jackwu925 You can do that by setting title for blog on your hugo.yaml or config.yaml file.

params:
  features:
    blog:
      enable: true
      showAuthor: true
      title: Thoughts

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

3 participants