- content_for(:subject_title, subject_title)

%h1= subject_title

%ol.video-list{ start: pages.values.first.metadata.number }
  - pages.each do |page, page_data|
    %li
      = link_to "/#{subject_url}/#{page_data.metadata.url}" do
        = image_tag "http://img.youtube.com/vi/#{page_data.video_url}/0.jpg", {alt: "#{page_data.metadata.page_title} video thumbnail" }
        %small.nice-number= page_data.metadata.number
        %strong= page_data.metadata.page_title

- content_for(:subject_title, subject_title)

%h1= subject_title

%ol.video-list{ start: pages.values.first.metadata.number }
  - pages.each do |page, page_data|
    %li
      = link_to "/#{subject_url}/#{page_data.metadata.url}" do
        = image_tag "http://img.youtube.com/vi/#{page_data.video_url}/0.jpg", {alt: "#{page_data.metadata.page_title} video thumbnail" }
        - if page_data.metadata.number
          %small.nice-number= page_data.metadata.number
        %strong= page_data.metadata.page_title

Make video number optional in subject pages
Make video number optional in subject pages
