polymer-starter-kit icon indicating copy to clipboard operation
polymer-starter-kit copied to clipboard

Add unique <title> tag to each page

Open oneezy opened this issue 7 years ago • 2 comments

In the Polymer Shop app, a unique <title> tag was added for each page.

I think it would be beneficial to add the same functionality to the PSK.

oneezy avatar Nov 10 '16 01:11 oneezy

Agreed, I did this in PSK 1, but using a slightly hacky method since without using a setTimeout call in the page.js page callback it would change the title before calling pushState.

jsilvermist avatar Nov 10 '16 02:11 jsilvermist

Here's the commit that was added in the Shop app for this, https://github.com/Polymer/shop/pull/32/files

oneezy avatar Nov 10 '16 02:11 oneezy