- refs.each do |ref| li - unless is_head_ref(ref) a href="ref/#{URI::encode(ref.name, '/')}" = ref.name