0
我终于得到了Template-Toolkit的安装和工作,但我遇到了一些编译问题。模板工具包和Juniper
我正在尝试为瞻博网关制作自定义登录页面。从他们的18页文档(http://www.juniper.net/techpubs/software/ive/admin/5.5-CSPSolutionGuide.pdf)他们说
You must begin each file with the directive
[% TAGS <% %> %] so that you can use angle brackets on any directives you add
to the templates. By default, the Template Toolkit recognizes square brackets ([
]) instead of angle brackets (<>) as delimiters for directives. The IVE recognizes
angle brackets only. Adding the TAGS directive tells the local Template Toolkit
utilities that you are using angle brackets.
我行添加到文件的开头,但是当我运行t第命令得到这个错误:
undef error - verbatim: filter not found
另一种选择是从本文档中更改模板工具包配置中的START_TAG和END_TAG(http://template-toolkit.org/docs/manual/Config.html#section_START_TAG_END_TAG)
但我不确定在哪里可以执行此更改,我不知道在哪里可以找到配置文件或命令改变设置。
任何帮助表示赞赏!