You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ba...@apache.org on 2021/09/14 07:43:58 UTC
[incubator-hop-website] branch master updated: HOP-3264 - removed
double quotes from description,
description to og:description in head-meta.hbs
This is an automated email from the ASF dual-hosted git repository.
bartmaer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop-website.git
The following commit(s) were added to refs/heads/master by this push:
new bcf4741 HOP-3264 - removed double quotes from description, description to og:description in head-meta.hbs
new 086d6c4 Merge pull request #86 from bamaer/HOP-3264
bcf4741 is described below
commit bcf4741e25693b82ae886582ace2664ca376f2c0
Author: Bart Maertens <ba...@know.bi>
AuthorDate: Tue Sep 14 09:42:58 2021 +0200
HOP-3264 - removed double quotes from description, description to og:description in head-meta.hbs
---
antora-ui-hop/src/partials/head-info.hbs | 2 +-
antora-ui-hop/src/partials/head-meta.hbs | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/antora-ui-hop/src/partials/head-info.hbs b/antora-ui-hop/src/partials/head-info.hbs
index d0a3653..fbed536 100644
--- a/antora-ui-hop/src/partials/head-info.hbs
+++ b/antora-ui-hop/src/partials/head-info.hbs
@@ -3,7 +3,7 @@
{{/if}}
{{#if page.component}}
{{#if page.description}}
- <meta name="description" content="{{page.description}}">
+ <meta name="description" content={{page.description}}>
{{/if}}
{{#if page.keywords}}
<meta name="keywords" content="{{page.keywords}}">
diff --git a/antora-ui-hop/src/partials/head-meta.hbs b/antora-ui-hop/src/partials/head-meta.hbs
index 59d20da..f85b545 100644
--- a/antora-ui-hop/src/partials/head-meta.hbs
+++ b/antora-ui-hop/src/partials/head-meta.hbs
@@ -1,7 +1,6 @@
- {{!-- Add additional meta tags here --}}
<meta property="og:title" content="{{{detag (or page.title defaultPageTitle)}}}{{#if site.title}} :: {{site.title}}{{/if}}">
{{#if page.description}}
-<meta name="description" content="{{page.description}}">
+<meta name="og:description" content={{page.description}}>
{{else}}
<meta property="og:description" content="Apache Hop (Incubating) - Hop Orchestration Platform">
{{/if}}