Skip to content

Latest commit

 

History

History
executable file
·
15 lines (11 loc) · 377 Bytes

abe-handlebars-variables.md

File metadata and controls

executable file
·
15 lines (11 loc) · 377 Bytes

Abe handlebars Variable

Abe admin is rendered with handlebar engine, global variables are added inside template rendering

Editor

When on the admin edit view abeEditor is set to true otherwise set to false

{{#if abeEditor}}
	Html rendered inside post when user edit the post
{{else}}
	Html rendered when user "publish" the post (final output)
{{/if}}