我正在尝试为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.我在文件的开头添加了这一行,但在运行tpage命令时得到以下错误:
undef error - verbatim: filter not found但我不确定在哪里可以执行此更改,我不知道在哪里可以找到配置文件或更改设置的命令。
感谢您的帮助!
发布于 2012-07-31 23:26:38
这个错误与[% TAGS %]指令无关。
你得到这个错误是因为你正在使用一个叫做'verbatim‘的过滤器,而这个过滤器并没有安装。它不是模板工具包附带的standard filters之一,所以我不确定它应该来自哪里。它可能是随Juniper一起安装的?
https://stackoverflow.com/questions/11742982
复制相似问题