public class BlockHelper extends Object implements Helper<Object>
The block helper will replace its section with the partial of the same name if it exists.
If delete-after-merge is set to true, the partial will be delete once
applied it.
{{block "title" [delete-after-merge=false]}}
public static final String NAME
public Object apply(Object context, Options options) throws IOException
Helperapply in interface Helper<Object>context - The context object.options - The options object.IOException - If a template cannot be loaded.Copyright © 2018. All rights reserved.