@(atom: com.gu.contentatom.thrift.Atom , data: com.gu.contentatom.thrift.atom.profile.ProfileAtom )(implicit conf: com.gu.contentatom.renderer.EmailConfiguration) @fragments.email.html.email(atom){ @fragments.email.html.snippet( atom, className = "profile", label = data.typeLabel.getOrElse("Profile"), headline = atom.title.getOrElse("") ){
| @for( img <- data.headshot ) { @fragments.atoms.html.snippetImage(img) } |
@for(
item <- data.items
) {
@item.title.map { t =>
}
@t
}
@Html(item.body)
|
|
| @credit | ||