if (hasPath("galleries"))
  YD.addClass(document.body, "galleries");

if (hasPath("find"))
  YD.addClass(document.body, "find");