Aman Roy
Aman Roy

Reputation: 25

Why my webpage title not same as expected?

Here is my website - Aman Roy

The problem is that from some days the title of my website is showing HOME | aman-roy.github.io

previously it is showing HOME | Aman Roy

Even now, locally it is showing HOME | Aman Roy but not on the GitHub pages.

Codes of my website resides here - GitHub Link to website codes

Upvotes: 1

Views: 139

Answers (1)

Jack Leahy
Jack Leahy

Reputation: 501

Your home page does not have the <title> element defined so Jekyll is most likely generating one by itself based on the index.html Jekyll title set and the URL.

Add the following to your <head> located in your default.html (master/_layouts/default.html)

<title>{{ page.title }} | {{ site.author }}</title>

Upvotes: 3

Related Questions