gpt4 book ai didi

xslt - Diazo :if not for if-path

转载 作者:行者123 更新时间:2023-12-01 03:31:11 26 4
gpt4 key购买 nike

我正在开发一个基于路径的多个主题的网站:

<rules if-path="//">
<theme href="index.html"/>
</rules>

<rules if-path="/news">
<theme href="news.html"/>
</rules>

<rules if-path="/Members">
<theme href="news.html"/>
</rules>

...

现在我有一个规则,如果路径不是/news,我想应用它。我怎样才能做到这一点?

最佳答案

我现在已经在 diazo 的开发版本中添加了 if-not-path。请参阅:https://github.com/plone/diazo

关于xslt - Diazo :if not for if-path,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8499513/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com