📢 Auto-Title from Heading 1

  // Auto title
  var h1 = $('h1').get(0).textContent;
  if (h1 === "Website Title") {
    document.title = h1;
  } else {
    document.title = h1 + " | Website Title";
  }

Updated: less than a minute ago Print


💬 Discussion

no comments yet.