common/app/views/fragments/trailblocks/headline.scala.html (7 lines of code) (raw):

@(trails: Seq[model.pressed.PressedContent], numItemsVisible: Int = 5, related: Boolean = false, isPanel: Boolean = false, headingLevel: Int = 2)(implicit request: RequestHeader) @import views.support.Seq2zipWithRowInfo <ul class="u-unstyled@if(isPanel){ panel}"> @trails.take(numItemsVisible).zipWithRowInfo.map{ case (trail, info) => @fragments.trails.headline(trail, info.rowNum, related, headingLevel = headingLevel) } </ul>