twig输出转义
摘要:twig输出转义--需求:传一个变量到 twig 中,需要插入几个空格,类似于下面这样:sprintf("%s%s -- %s", str_repeat(' ', $path_level-5), str_repeat("|", $path_level-5), $baseName);但是渲染
阅读全文
posted @ 2019-04-22 19:11
posted @ 2019-04-22 19:11
posted @ 2019-04-18 12:48
posted @ 2019-04-18 11:56
posted @ 2019-04-15 19:47