inpage links + js in base.html