How to set the content of an element to the current page's title

This is great! Thanks @samliew