% raw_tap_name = @data['tap_name'].to_s %>
<% tap_name = raw_tap_name.empty? ? 'ivuorinen/tap' : raw_tap_name %>
<%= render_partial('head', title: "All Formulae - #{tap_name}", style_path: 'style.css') %>
<%= render_partial('header', tap_name: tap_name, description: 'Homebrew Tap containing custom formulae for various tools and utilities.', active_page: :formulae, base_path: '') %>
<% if @data['formulae_count'].to_i == 0 %>
<%= render_partial('nothing_here') %>
<% else %>
All Formulae
<%= h(@data['formulae_count'].to_s) %> total
<%
# Sort all formulae alphabetically by name
@data['formulae'].sort_by { |f| f['name'].to_s.downcase }.each do |formula|
%>
<%= render_partial('formula_card', formula: formula, base_path: '', show_homepage: true, show_dependencies: true, show_last_modified: true) %>
<% end %>
<% end %>
<%= render_partial('footer', generated_at: @data['generated_at']) %>