Refactored: partial templates should not use instance variables
Fixed: links in profile#hooks were broken