This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new d0eb347b feat: set OpenGraph title metadata
d0eb347b is described below
commit d0eb347bbe552eb82a28ac0f8c57ffc174e5e461
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue Sep 6 16:26:34 2022 +0200
feat: set OpenGraph title metadata
Sets the `og:title` metadata to the page's title. Makes for a nicer
preview when sharing a link to the website.
---
antora-ui-camel/public/_/partials/head-meta.hbs | 2 +-
antora-ui-camel/src/partials/head-meta.hbs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/antora-ui-camel/public/_/partials/head-meta.hbs
b/antora-ui-camel/public/_/partials/head-meta.hbs
index 6ae13297..16f9adb9 100644
--- a/antora-ui-camel/public/_/partials/head-meta.hbs
+++ b/antora-ui-camel/public/_/partials/head-meta.hbs
@@ -1,5 +1,5 @@
<meta name="application-name" content="Apache Camel">
-<meta property="og:title" content="Apache Camel helps you integrate over 300
different systems!">
+<meta property="og:title" content="{{page.title}}">
<meta property="og:site_name" content="Apache Camel">
<meta property="og:url" content="https://camel.apache.org">
<meta property="og:description" content="Camel is an open source integration
framework that empowers you to quickly and easily integrate various systems
consuming or producing data.">
diff --git a/antora-ui-camel/src/partials/head-meta.hbs
b/antora-ui-camel/src/partials/head-meta.hbs
index 925c3d5f..2bff4fc7 100644
--- a/antora-ui-camel/src/partials/head-meta.hbs
+++ b/antora-ui-camel/src/partials/head-meta.hbs
@@ -1,5 +1,5 @@
<meta name="application-name" content="Apache Camel">
-<meta property="og:title" content="Apache Camel helps you integrate over 300
different systems!">
+<meta property="og:title" content="{{page.title}}">
<meta property="og:site_name" content="Apache Camel">
<meta property="og:url" content="https://camel.apache.org">
<meta property="og:description" content="Camel is an open source integration
framework that empowers you to quickly and easily integrate various systems
consuming or producing data.">