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

Add withSiteTitle params #395

Closed
Lruihao opened this issue Dec 28, 2023 · 1 comment
Closed

Add withSiteTitle params #395

Lruihao opened this issue Dec 28, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Lruihao
Copy link
Member

Lruihao commented Dec 28, 2023

Hi @Lruihao , your template is really powerful and saved me many days of work, thanks again.

I just discovered my website name is contained in the title of all my pages (under "head" HTML tag), and I wonder if this could be an issue for indexing. I'm a bit uncomfortable with SEO and I would like to clarify why only 30% of my website is indexed on Google.

Is it intentional to replicate "name" value (located under "params.header.title") into all pages title?
Can't it slow / block the indexing process from Google?

Originally posted by @Kapusch in #392

@Lruihao Lruihao self-assigned this Dec 28, 2023
@Lruihao Lruihao added the enhancement New feature or request label Dec 28, 2023
@Lruihao Lruihao modified the milestones: v0.2.18-lts, v0.3.0 Dec 28, 2023
@Lruihao Lruihao changed the title Add indexWithTitle and indexWithSubtitle params Add indexWithTitle params Dec 28, 2023
@Lruihao Lruihao changed the title Add indexWithTitle params Add withSiteTitle params Dec 28, 2023
@Lruihao
Copy link
Member Author

Lruihao commented Dec 28, 2023

add params.withSiteTitle and params.titleDelimiter to support.

[params]
  # ...
  # FixIt 0.3.0 | NEW whether to add site title to the title of every page
  # remember to set up your site title in `hugo.toml` (e.g. title = "title")
  withSiteTitle = true
  # FixIt 0.3.0 | NEW title delimiter when the site title is be added to the title of every page
  titleDelimiter = "-"

@Lruihao Lruihao closed this as completed in fbe5834 Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant