Reputation: 91
For a Facebook share button, I deed to add some meta tags to a page in Liferay. The result of the HTML should look like the following example:
<html>
<head>
<meta property="og:title" content="My website title" />
<meta property="fb:app_id" content="4711" />
</head>
<body>...</body>
</html>
How can I do that in Liferay WITHOUT coding but just by configuration in the admin control area?
Note: For www.mydomain.com/en the content of the meta tag should be in English. For www.mydomain.com/de it should be in German. If this is not possible by configuration easily, it can be all in one single language.
Upvotes: 1
Views: 2792
Reputation: 805
You can add fb meta tags in portal_normal.vm in theme. Also,these changes are not instantly reflected but takes a while until the fb crawlers re cache content from your tags.
Upvotes: 3