【发布时间】:2014-08-10 05:14:32
【问题描述】:
我正在使用一个新框架,OctoberCMS,它有一个用于将页面与树枝链接的系统。这是其工作原理的示例
<a href="{{ '/about-us'|app }}">About Us</a>
我有一个巨大的表格,其中包含大量单元格内的链接,需要将链接格式更改为符合 october 的格式。
这是表格单元格中的示例链接:
<a href="/assets/Lecture%20Documents/MBCS/MBS%20Class%20Review.doc">Lecture Notes</a>
这是它必须遵循的格式
<a href=
"/assets/<...long_path_to_file...>"> </a>
到
<a href=
"{{ 'assets/<...long_path_to_file...>' |theme }}"> </a>
【问题讨论】:
标签: regex regex-negation octobercms