Update nav logic in Liquid