@extends TagLayout @(models.japidsample.Post post, String as)

title: $post.getTitle()

at: ${format(post.getPostedAt(), ("yy-MMM-dd"))}

by: $post.getAuthor().name, $post.getAuthor().gender

*{this is the tag way of doBody: #{doBody post.getTitle() + "!" /} }* *{this is the directive way of doBody: }* @doBody post.getTitle() + "!"