erb/performances/show.html.erb
<%
title = @performance.title + " | Cal Raijin Taiko"
description = @performance.description
image = @performance.banner.url(:display)
meta title: title,
description: description,
og: {
title: title,
description: description,
image: image,
url: root_url + "performances/" + @performance.slug
}
%>
<%= render 'show', performance: @performance %>
<% if @performance.performance_videos.any? %>
<header>
<h2>VIDEOS</h2>
</header>
<section class="perf-videos">
<%= render @performance_videos %>
</section>
<% end %>
<nav class="nav-buttons">
<%= link_to image_tag("icons/back.png"), performances_path %>
</nav>