You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/05/31 16:13:05 UTC

[royale-docs] branch master updated: add facebook/twtter metada to make docs looks good when sharing on social networks

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 757c693  add facebook/twtter metada to make docs looks good when sharing on social networks
757c693 is described below

commit 757c693865de8f227ea0922987d02196b1eaf55e
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri May 31 18:12:59 2019 +0200

    add facebook/twtter metada to make docs looks good when sharing on social networks
---
 _layouts/docpage.html | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/_layouts/docpage.html b/_layouts/docpage.html
index 1e23e88..e472778 100644
--- a/_layouts/docpage.html
+++ b/_layouts/docpage.html
@@ -31,6 +31,25 @@ limitations under the License.
 <link rel="shortcut icon" href="">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
+<meta property=“og:image” content=“http://royale.codeoscopic.com/wp-content/uploads/2019/05/apache-royale-docs.jpg”/>
+<meta property=“og:image:secure_url” content=“https://royale.codeoscopic.com/wp-content/uploads/2019/05/apache-royale-docs.jpg”/>
+<meta property=”og:image:width” content=”1200″/>
+<meta property=”og:image:height” content=”630″/>
+<meta property="og:locale" content="en_US">
+<meta property="og:type" content="article">
+<meta property="og:title" content="{{ page.title }}">
+<meta property="og:description" content="{{ page.description }}">
+<meta property="og:url" content="{{ page.url | absolute_url }}">
+<meta property="og:site_name" content="Apache Royale™">
+<meta property="article:publisher" content="//www.facebook.com/Apache-Royale-249305752259661/">
+<meta name=”twitter:image” content=”http://royale.codeoscopic.com/wp-content/uploads/2019/05/apache-royale-docs.jpg”>
+<meta name=”twitter:image_secure_url” content=”https://royale.codeoscopic.com/wp-content/uploads/2019/05/apache-royale-docs.jpg”>
+<meta name=”twitter:title” content=”{{ page.title }}”>
+<meta name=”twitter:description” content=”{{ page.description }}”>
+<meta name=”twitter:card” content=”{{ page.description }}”>
+<meta name=”twitter:url” content=”{{ page.url | absolute_url }}”>
+<meta name="twitter:site" content="@ApacheRoyale">
+<meta name="twitter:creator" content="@ApacheRoyale">
 <base href="{{ site.baseurl }}/" />
 <title>{{page.title}}</title>
 </head>