fb:comments-count标签在剃刀视图中无效 [英] fb:comments-count tag not working in razor view
本文介绍了fb:comments-count标签在剃刀视图中无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< fb:comments-count href = http://example.com />< / FB:评论计数>真棒的评论
它打破了我的页面。有没有办法解决它?
解决方案
您可能没有在您的中添加Facebook xml命名空间< html>
标签。
< html xmlns:fb =http://ogp.me/ns/fb#>
I put facebook comment tag in razor view page.
<fb:comments-count href=http://example.com/></fb:comments-count> awesome comments
it breaks my page. is there a way to fix it?
解决方案
You may not have included the facebook xml namespace in your <html>
tag.
<html xmlns:fb="http://ogp.me/ns/fb#">
这篇关于fb:comments-count标签在剃刀视图中无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文