@(posts: List[Post], tag: String)
@import helper._
@main("Posts tagged with " + tag){
@if(posts.length > 1) {
There are posts.length posts tagged with + @tag
}else {
@if(posts.length > 0) {
There is 1 post tagged with + @tag
}else {
No post tagged with + @tag
}
}
@posts.map{post =>
@display(post, mode = "teaser")
}
}