FreeMarker: Include Instruction Test

A simple test follows:

Hello, world!

Message exists!

Test normal includes:

A test of included files:

Message exists!:
Hello, world!

Can you see me? assigning from included template I'm here, mon!

Test unparsed includes:

A test of included files:

<#if .globals.message?exists>

Message exists!:
${.globals.message}

<#else>

No message :(

<#assign foo="assigning from included template", bar=" Can you see me? "> <#macro twice><#nested/>${bar}<#nested/> <#include "nestedinclude.ftl"> Kilroy Can you see me? Kilroy

Test subdir includes:

This is include-subdir.ftl

Testing including from same directory

This is include-subdir2.ftl

Testing including from relative parent

A test of included files:

Message exists!:
Hello, world!

Can you see me?

Testing including from loader root

A test of included files:

Message exists!:
Hello, world!

Can you see me?

Testing including through acquisition

This is include-subdir2.ftl