<%= sky_section_tag("Keywords") do %>
  <% keywords = keywords_for_ib_post(post) %>
  <% if keywords.any? %>
    <div class="flex flex-wrap gap-2">
      <% keywords.each do |keyword| %>
        <span
                class="<%= tailwind_tag_category_class(:general) %> rounded px-2 py-1 text-sm text-slate-600"
              >
          <% icon = font_awesome_category_icon(:general) %>
          <% if icon %>
            <i class="fa-solid <%= icon %> mr-1"></i>
          <% end %>
          <%= keyword %>
        </span>
      <% end %>
    </div>
  <% else %>
    <div class="text-center italic text-slate-400">No keywords</div>
  <% end %>
<% end%>
