Skip to content

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

@sivaraam

Description

@sivaraam
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?

Activity

chriscool

chriscool commented on Mar 27, 2021

@chriscool
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

sivaraam commented on Mar 28, 2021

@sivaraam
MemberAuthor

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

chriscool commented on Mar 28, 2021

@chriscool
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @chriscool@sivaraam

        Issue actions

          Why do some pages don't have titles in the deployed site? · Issue #489 · git/git.github.io