Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change in meta title and meta description #422

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/3.0.x/contribution.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: contribution
title: Contributing to NativeBase
metaTitle: Contributing to NativeBase | NativeBase
metaDescription: A set of guidelines for individuals interested in contributing to NativeBase. Please read carefully before creating an issue or pull request.
---

Thanks for showing an interest in contributing to NativeBase. We are excited about our collaboration. The following is a set of guidelines that will make the journey memorable. Please spend several minutes reading these guidelines before you create an issue or pull request.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.1.x/contribution.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: contribution
title: Contributing to NativeBase
metaTitle: Contributing to NativeBase | NativeBase
metaDescription: A set of guidelines for individuals interested in contributing to NativeBase. Please read carefully before creating an issue or pull request.
---

Thanks for showing an interest in contributing to NativeBase. We are excited about our collaboration. The following is a set of guidelines that will make the journey memorable. Please spend several minutes reading these guidelines before you create an issue or pull request.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.2.x/contribution.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: contribution
title: Contributing to NativeBase
metaTitle: Contributing to NativeBase | NativeBase
metaDescription: A set of guidelines for individuals interested in contributing to NativeBase. Please read carefully before creating an issue or pull request.
---

Thanks for showing an interest in contributing to NativeBase. We are excited about our collaboration. The following is a set of guidelines that will make the journey memorable. Please spend several minutes reading these guidelines before you create an issue or pull request.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.3.x/contribution.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: contribution
title: Contributing to NativeBase
metaTitle: Contributing to NativeBase | NativeBase
metaDescription: A set of guidelines for individuals interested in contributing to NativeBase. Please read carefully before creating an issue or pull request.
---

Thanks for showing an interest in contributing to NativeBase. We are excited about our collaboration. The following is a set of guidelines that will make the journey memorable. Please spend several minutes reading these guidelines before you create an issue or pull request.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.4.x/contribution.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: contribution
title: Contributing to NativeBase
metaTitle: Contributing to NativeBase | NativeBase
metaDescription: A set of guidelines for individuals interested in contributing to NativeBase. Please read carefully before creating an issue or pull request.
---

Thanks for showing an interest in contributing to NativeBase. We are excited about our collaboration. The following is a set of guidelines that will make the journey memorable. Please spend several minutes reading these guidelines before you create an issue or pull request.
Expand Down
2 changes: 2 additions & 0 deletions docs/next/contribution.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: contribution
title: Contributing to NativeBase
metaTitle: Contributing to NativeBase | NativeBase
metaDescription: A set of guidelines for individuals interested in contributing to NativeBase. Please read carefully before creating an issue or pull request.
---

Thanks for showing an interest in contributing to NativeBase. We are excited about our collaboration. The following is a set of guidelines that will make the journey memorable. Please spend several minutes reading these guidelines before you create an issue or pull request.
Expand Down
8 changes: 5 additions & 3 deletions layouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ function Layout({
}`;

let href = "https://docs.nativebase.io/" + pages.currentPage.id;
const { metaTitle, metaDescription } = frontMatter;
console.log(metaTitle, metaDescription);
const {metaTitle,metaDescription}=frontMatter;

return (
<>
<Head>
Expand All @@ -117,7 +117,9 @@ function Layout({
/>
{/* og meta links */}
<meta property="og:title" content={metaTitle} />
<meta property="og:description" content={metaDescription} />
<meta
property="og:description"
content={metaDescription} />
<meta property="og:url" content="https://docs.nativebase.io" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:site_name" content="NativeBase" />
Expand Down