为每个URL(而非页面)打开图元标记 [英] Open Graph Metatags for every URL instead of page
本文介绍了为每个URL(而非页面)打开图元标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发了一个类似于facebook wall的页面,该页面具有Angular(SPA)中的帖子列表.每个帖子都有唯一的URL,可以准确地到达该帖子.我是新来的开放图元标记.我已经在head标签中插入了metatag.
I have developed a page similar to facebook wall which have list of post in Angular (SPA). Every post have unique url to reach exactly to that post. I am new to open graph metatags. I have inserted metatags in head tag.
<meta property="og:url" content="#####"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="####"/>
<meta property="og:description"
content="######"/>
<meta property="og:image" content="/images/####.png"/>
元标记对于每个帖子都是通用的,如何为每个url(帖子)分配元标记?
提前谢谢!
推荐答案
这篇关于为每个URL(而非页面)打开图元标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文