<% @page_title = @collection.name %> <% content_for :head do %> <%= tag.meta property: "og:title", content: "#{@collection.name} | #{Account.sole.name}" %> <%= tag.meta property: "og:description", content: format_excerpt(@collection&.public_description, length: 200) %> <%= tag.meta property: "og:image", content: "#{request.base_url}/app-icon.png" %> <%= tag.meta property: "og:url", content: published_collection_url(@collection) %> <%= tag.meta property: "twitter:title", content: "#{@collection.name} | #{Account.sole.name}" %> <%= tag.meta property: "twitter:description", content: format_excerpt(@collection&.public_description, length: 200) %> <%= tag.meta property: "twitter:image", content: "#{request.base_url}/app-icon.png" %> <%= tag.meta property: "twitter:card", content: "summary_large_image" %> <% end %> <% content_for :header do %>

<%= @page_title %>

<% end %> <% if @collection.public_description.present? %>
<%= @collection.public_description %>
<% end %> <%= render "public/collections/show/columns", page: @page, collection: @collection %>