I need to render entity as a part of page instead of individual page. By this I mean I want to able to render it without DOCTYPE declaration and HEAD tags.
Typically this could be done within html.tpl.php but I haven't found the correct naming convention or other solutions.
How to render entity programmatically in a bare div container using Entity view modes? This shouldn't be a huge problem since e.g. Views can list entities using a certain display/view mode. I'm trying to render it in a Rules config to send it out as email.