Refactored templates to use url().