我认为在我的主题中询问超过 2 个条件的唯一方法是:
{if '{pyro:url:segments segment="1"}' == 'tos'}
<meta name="robots" content="noindex, nofollow" />
{elseif '{pyro:url:segments segment="1"}' == 'privacy'}
<meta name="robots" content="noindex, nofollow" />
{/if}
我疯了?还有更优雅的方法吗???谢谢