{var $show_on_page = $_modx->resource.show_on_page} {if $show_on_page | match : '*content*'} {include 'content'} {/if} {if $show_on_page | match : '*children*'} {include 'child_list'} {/if}