Playing with Page Title

To update page title, Yugal.JS has one line solution to it, just call yugal.title and pass new title into this method. If no new title is defined into this method, it will return current title.

Example:

    yugal.title("SOME NEW TITLE"); //UPDATES TITLE AND RESPECTIVE META TAGS
    yugal.title(); //RETURNS CURRENT TITLE

Last updated

Was this helpful?