using friendly_id in header and footer