| 1 | <% content_for :meta_head do %> |
| 2 | <title><%= @meta_title %></title> |
| 3 | <meta name="description" content="<%= @meta_description %>"> |
| 4 | <meta property="og:title" content="<%= @meta_title %>" /> |
| 5 | <meta property="og:description" content="<%= @meta_description %>" /> |
| 6 | <meta property="og:url" content="<%= guitar_chord_detail_url(@song.slug) %>" /> |
| 7 | <% end %> |
| 8 | <% content_for :breadcrumb do %> |
| 9 | <script type="application/ld+json"> |
| 10 | { |
| 11 | "@context": "http://schema.org", |
| 12 | "@type": "BreadcrumbList", |
| 13 | "itemListElement": [{ |
| 14 | "@type": "ListItem", |
| 15 | "position": 1, |
| 16 | "item": { |
| 17 | "@id": "<%= root_url %>", |
| 18 | "name": "Musik 88" |
| 19 | } |
| 20 | },{ |
| 21 | "@type": "ListItem", |
| 22 | "position": 2, |
| 23 | "item": { |
| 24 | "@id": "<%= artist_url %>", |
| 25 | "name": "<%= t("nav_artists") %>" |
| 26 | } |
| 27 | },{ |
| 28 | "@type": "ListItem", |
| 29 | "position": 3, |
| 30 | "item": { |
| 31 | "@id": "<%= artist_detail_url(@song.album.artists[0].name.downcase.parameterize + "-" + @song.album.artists[0].id.to_s) %>", |
| 32 | "name": "<%= @song.album.artists[0].name %>" |
| 33 | } |
| 34 | },{ |
| 35 | "@type": "ListItem", |
| 36 | "position": 4, |
| 37 | "item": { |
| 38 | "@id": "<%= album_detail_url(@song.album.name.downcase.parameterize + '-' + @song.album.artists[0].name.downcase.parameterize + "-" + @song.album.id.to_s) %>", |
| 39 | "name": "<%= @song.album.name %>" |
| 40 | } |
| 41 | },{ |
| 42 | "@type": "ListItem", |
| 43 | "position": 5, |
| 44 | "item": { |
| 45 | "@id": "<%= guitar_chord_detail_url(@song.slug) %>", |
| 46 | "name": "<%= t("guitar_chord") + @song.name + " " + @song.album.artists[0].name + " " + @song.album.name %>" |
| 47 | } |
| 48 | }] |
| 49 | } |
| 50 | </script> |
| 51 | <% end %> |
| 52 | <%= render("partial_menus_aside", active_menu: 'bass_tab' ) %> |
| 53 | <div class="row"> |
| 54 | <%= render("partial_content_drum_backing_track") %> |
| 55 | </div> |
| 56 | <%= render "shared/partial_breadcrumbs" do %> |
| 57 | <li class="breadcrumb-item"><%= link_to t("nav_artists"), artist_url %></li> |
| 58 | <li class="breadcrumb-item"><%= link_to @song.album.artists[0].name, artist_detail_url(@song.album.artists[0].name.downcase.parameterize + "-" + @song.album.artists[0].id.to_s) %></li> |
| 59 | <li class="breadcrumb-item"><%= link_to @song.album.name, album_detail_url(@song.album.name.downcase.parameterize + '-' + @song.album.artists[0].name.downcase.parameterize + "-" + @song.album.id.to_s) %></li> |
| 60 | <li class="breadcrumb-item"><%= link_to @song.name, guitar_chord_detail_url(@song.slug) %></li> |
| 61 | <% end %> |