@extends 	Layout
@import	 	models.japidsample.Post
@(
    String blogTitle, 
    List <Post> allPost
)
@stopwatch	on

@set title:"Home"

@for (Post p: allPost) { 
        *{ now we call a tag, with a body content that take a parameter title of String type }*

	    @tag Display(p, "home2") | String title
		   The real title is: $title;
	    @
@}

@tag Tag2(blogTitle)

<p>cool</p>