adds {% url index %} to facebook and twitter blocks on index.html and detail.html