使用Umbraco做文章Tag方法

不啰嗦,直接上图

1. 添加Data Types: Developer -> Data Types

 

2. 在Document Type中定义属性

  

3. 在xsltExtensions.config中加一行代码

<ext alias="tagsLib" assembly="umbraco.editorControls" type="umbraco.editorControls.tags.library"></ext>

4. 添加完成之后就可以在新建页面中使用了,效果如下图

 

5. 在xslt中使用

 

原文地址:https://www.cnblogs.com/booth/p/2807159.html