!!!
%html
  %head
    %meta{charset: 'utf-8'}
    %title League Schedule

    %meta{name: 'HandheldFriendly', content: 'true'}
    %meta{name: 'viewport', content: 'width=device-width, height=device-height, user-scalable=no'}

    :css
      #{include('css/icons.css')}
      #{include('css/filters.css')}
      #{include('css/style.css')}

    :javascript
      #{include('js/times.js')}
      #{include('js/js.js')}
      #{include('js/filters.js')}
      #{include('js/links.js')}
      #{include('js/reveals.js')}

    <!-- Page generated #{generated}, data file generated #{data_generated} -->
  %body
    #page-wrapper
      != partial('filters', { source: source })

      - source.leagues.select { |league| league.stream_url }.each do |league|
        != partial('league_stream', { league: league })
      - source.matches.sort_by { |match| Time.parse(match.time) }.reverse_each do |match|
        != partial('match', { match: match })
      #no-results.match
        %div There are no matches that fit all the filters you have applied.

!!!
%html
  %head
    %meta{charset: 'utf-8'}
    %title League Schedule

    %meta{name: 'HandheldFriendly', content: 'true'}
    %meta{name: 'viewport', content: 'width=device-width, height=device-height, user-scalable=no'}

    :css
      #{include('css/icons.css')}
      #{include('css/filters.css')}
      #{include('css/style.css')}

    :javascript
      #{include('js/times.js')}
      #{include('js/js.js')}
      #{include('js/filters.js')}
      #{include('js/links.js')}
      #{include('js/reveals.js')}

    <!-- Page generated #{generated}, data file generated #{data_generated} -->
  %body
    #page-wrapper
      != partial('filters', { source: source })

      - source.leagues.select { |league| league.stream_url }.each do |league|
        != partial('league_stream', { league: league })
      - source.matches.sort_by { |match| Time.parse(match.time) }.reverse_each do |match|
        != partial('match', { match: match })
      #no-results.match.filter-no-match
        %div There are no matches that fit all the filters you have applied.

Hide no results information unless there are no results
Hide no results information unless there are no results
