n64blog / n64blog.github.io

Blog dedicated to everything N64
http://www.n64blog.com
0 stars 1 forks source link

Page titles are all identical #9

Closed megawatts64 closed 7 years ago

megawatts64 commented 7 years ago

Not sure if this is an error or the info simply hasn't been inserted yet.

Currently all pages share the page title "N64 Blog" despite having different H1s in the page content. It would be good if page titles could be different to H1s, just in case an H1 is too long and we need to get creative with character limits for search engines. Having the name of the blog automatically appear the end of each page title would also be ideal.

Update: this is only for posts, not game pages.

ash-lift commented 7 years ago

Right now the title is set-up like this:

{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}

So if a page has a title defined in the YAML front matter, that will be in the title. If no title has been defined it falls back to the blog title. I can easily change is if you want, how about:

Does this sound ok?

megawatts64 commented 7 years ago

This sounds good to me! Make it so!