A community-owned pub that reopened its doors at the end of last year has been ranked in the top 29 pubs in the UK in a definitive list.