功能简介:用于实现内容中关键词自动创建内链,有助于seo优化。
内置扩展方法:
Html.KeywordReplaceLink(string content)
内容页面模板调用演示:
1、给模板中新闻内容添加关键词链接。
@{ var infoData = Html.InfoData(); string content=infoData.Content; } <div>@Html.Raw(Html.KeywordReplaceLink(content))</div> 或 <div>@Html.Raw(Html.KeywordReplaceLink((string)infoData.Content))</div>
Html.Raw()作用是禁止对html内容进行转码。
内容页数据调用教程参考:http://www.pageadmin.net/help/39.cshtml
2020-06
发布1.0.0版本
1. 所有插件必须经过商业授权的网站才能安装使用,购买后提供的售后服务器期限默认为1年。
2. 使用中遇到Bug、错误、改进建议等可通过工单或官方论坛提交。