首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >模板-工具包和Juniper

模板-工具包和Juniper
EN

Stack Overflow用户
提问于 2012-07-31 22:58:21
回答 1查看 456关注 0票数 0

我正在尝试为Juniper网关创建一个自定义登录页面。根据他们第18页的文档( http://www.juniper.net/techpubs/software/ive/admin/5.5-CSPSolutionGuide.pdf ),他们说

代码语言:javascript
复制
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命令时得到以下错误:

代码语言:javascript
复制
undef error - verbatim: filter not found

但我不确定在哪里可以执行此更改,我不知道在哪里可以找到配置文件或更改设置的命令。

感谢您的帮助!

EN

回答 1

Stack Overflow用户

发布于 2012-07-31 23:26:38

这个错误与[% TAGS %]指令无关。

你得到这个错误是因为你正在使用一个叫做'verbatim‘的过滤器,而这个过滤器并没有安装。它不是模板工具包附带的standard filters之一,所以我不确定它应该来自哪里。它可能是随Juniper一起安装的?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11742982

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档