Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meteor - Setting the document title

Tags:

meteor

Is there a way to change the <title> element in a Meteor app? Seems templates are only processed in the <body>.

like image 373
Dean Brundage Avatar asked Dec 26 '12 05:12

Dean Brundage


1 Answers

Pretty much anywhere in your client-side JavaScript code:

document.title = "My new title"; 
like image 68
David Wihl Avatar answered Oct 05 '22 13:10

David Wihl