bash-utils/shtpl/exemple/templates-path.shtpl

21 lines
276 B
Plaintext
Executable File

#!/usr/bin/env shtpl
SHTPL path:
$__shtpl_path__
SHTPL dir:
$__shtpl_dir__
Current template path:
$__tpl_path__
Current template dir:
$__tpl_dir__
Current template filename:
$__tpl_name__
Current working dir:
$(pwd)
Sub template
------------
$($__tpl_dir__/shtpl/B.shtpl)