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

Why do some pages don't have titles in the deployed site? #489

Open
sivaraam opened this issue Mar 27, 2021 · 3 comments
Open

Why do some pages don't have titles in the deployed site? #489

sivaraam opened this issue Mar 27, 2021 · 3 comments

Comments

@sivaraam
Copy link
Member

Consider the following pages in https://git.github.io/ :

Observe that even though they have a proper title mentioned in the corresponding Markdown files, the titles don't appear in the body of the text. It is only visible in the link and the title of the tab in the browser. Is there a particular reason for this? Or is there no particular reason for this?

@chriscool
Copy link
Collaborator

It looks like the titles that are mentioned in the Markdown files are only in the header parts of the files, and I guess it's part of how these static pages work that a title should not just be in the header if it should appear on the page itself.

@sivaraam
Copy link
Member Author

I just realized that I never mentioned why I was wondering about this. The reason is that I had a tab from git.github.io open. When I returned to it after a while, I found it hard to identify what page it was as there was no title. That's when I started wondering why the page title is present only in the header.

It looks like the titles that are mentioned in the Markdown files are only in the header parts of the files, and I guess it's part of how these static pages work that a title should not just be in the header if it should appear on the page itself.

Right. I certainly believe there would be a way to make the title in the header appear in the page itself without having to include it manually in all the pages. Actually, I just briefly looked into it and found a way to do that. So, would a change to include the title in the page itself be welcome? I think it might require some special handling for Rev News as all rev news articles already have a header.

@chriscool
Copy link
Collaborator

Yeah, I think it could help people avoid mistakes and identify rapidly which page they are on. So I am ok with such a change.

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

2 participants