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

Append home page title to / title (if on home) #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rmacd
Copy link
Contributor

@rmacd rmacd commented Jun 23, 2020

Currently the site home page uses "site title" only in the <title> tag

All other pages use format <title>page_title - site_title</title>.

For "home page" in search engine, it would be good to be able to provide a "site tagline" on the home page only.

This change will therefore allow the title to be appended on the site home page, ie <title>site_title - homepage_title</title>.

To do this, the file content/_index.md need simply include title: element as usual: if present, this will be appended to page title of home page.

@ghost
Copy link

ghost commented Mar 2, 2022

@rmacd Is this why bing and google tell me I have no H1 tag or something else? I'm not terribly familiar with hugo yet. Do you know how I can fix it? Do I need to wait for this?

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

Successfully merging this pull request may close these issues.

None yet

2 participants