anchor.diff:                          h2= t('nav.residency')
   
                       if residencies
  -                        each datestring in Object.keys(residencies).sort()
  +                        each datestring in Object.keys(residencies).sort().slice(0, listlength)
                               each timestring in Object.keys(op.get(residencies, [datestring])).sort()
                                   each p in op.get(residencies, [datestring, timestring])
                                       .col-xs-12.col-md-2
  
positive.code:                                     .col-xs-12.col-md-12.col-lg-12
                                          hr
                          
                          .col-xs-12.col-md-12        
                              a.load-more.btn.btn-primary(href='/' + lang + '/program/')= t('button.view-all')
                              
                      else
                          .col-lg-12
  
negative.code:                                     .col-xs-12.col-md-12
                                          hr
                      
                          if Object.keys(residencies).length > listlength
                              .col-xs-12.col-md-12        
                                  a.load-more.btn.btn-primary(href='/' + lang + '/residency/')= t('button.view-all') + ' (' + Object.keys(residencies).length + ')'
                      else
                          .col-lg-12
                              h2= t('title.no-residencies')
  