Quick Start
<%= render_partial('command_input', command: "brew tap #{safe_tap_name}", size: 'lg', label: 'CLI') %>Latest Updates
View all <%= h(@data['formulae_count'].to_s) %> formulae →
<%
# Sort formulae by last_modified date (most recent first) and take top 6
sorted_formulae = Array(@data['formulae'])
.select { |f| f.is_a?(Hash) && f['last_modified'] }
.sort_by { |f| f['last_modified'] }
.reverse
.first(6)
sorted_formulae.each do |formula|
%>
<%= render_partial('formula_card', formula: formula, base_path: '', show_last_modified: true) %>
<% end %>