From 2799c1160b35a42926a9f59c92637dc7aaa81178 Mon Sep 17 00:00:00 2001 From: Sahil Vasuja Date: Wed, 30 Nov 2022 17:43:14 +0530 Subject: [PATCH 1/2] change in meta title and meta description --- docs/3.0.x/contribution.md | 2 ++ docs/3.1.x/contribution.md | 2 ++ docs/3.2.x/contribution.md | 2 ++ docs/3.3.x/contribution.md | 2 ++ docs/3.4.x/contribution.md | 2 ++ docs/next/contribution.md | 2 ++ layouts/index.tsx | 8 ++++---- 7 files changed, 16 insertions(+), 4 deletions(-) diff --git a/docs/3.0.x/contribution.md b/docs/3.0.x/contribution.md index 42f3e911e..aa892be7b 100644 --- a/docs/3.0.x/contribution.md +++ b/docs/3.0.x/contribution.md @@ -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. diff --git a/docs/3.1.x/contribution.md b/docs/3.1.x/contribution.md index 42f3e911e..aa892be7b 100644 --- a/docs/3.1.x/contribution.md +++ b/docs/3.1.x/contribution.md @@ -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. diff --git a/docs/3.2.x/contribution.md b/docs/3.2.x/contribution.md index 42f3e911e..aa892be7b 100644 --- a/docs/3.2.x/contribution.md +++ b/docs/3.2.x/contribution.md @@ -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. diff --git a/docs/3.3.x/contribution.md b/docs/3.3.x/contribution.md index 42f3e911e..aa892be7b 100644 --- a/docs/3.3.x/contribution.md +++ b/docs/3.3.x/contribution.md @@ -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. diff --git a/docs/3.4.x/contribution.md b/docs/3.4.x/contribution.md index 0e1ca5e1f..f6f655002 100644 --- a/docs/3.4.x/contribution.md +++ b/docs/3.4.x/contribution.md @@ -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. diff --git a/docs/next/contribution.md b/docs/next/contribution.md index 0e1ca5e1f..f6f655002 100644 --- a/docs/next/contribution.md +++ b/docs/next/contribution.md @@ -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. diff --git a/layouts/index.tsx b/layouts/index.tsx index 2b3690447..20c47d90f 100644 --- a/layouts/index.tsx +++ b/layouts/index.tsx @@ -105,7 +105,8 @@ function Layout({ }`; let href = "https://docs.nativebase.io/" + pages.currentPage.id; - + const {metaTitle,metaDescription}=frontMatter; + console.log(metaDescription) return ( <> @@ -115,11 +116,10 @@ function Layout({ content="Universal Components for React and React Native" /> {/* og meta links */} - + + content={metaDescription} /> From 54ef9d9ed8eb82f2dac30bff7a06ab8720ce954c Mon Sep 17 00:00:00 2001 From: Sahil Vasuja Date: Mon, 5 Dec 2022 13:33:34 +0530 Subject: [PATCH 2/2] remove console in contribution --- layouts/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.tsx b/layouts/index.tsx index 20c47d90f..ca7115bdb 100644 --- a/layouts/index.tsx +++ b/layouts/index.tsx @@ -106,7 +106,7 @@ function Layout({ let href = "https://docs.nativebase.io/" + pages.currentPage.id; const {metaTitle,metaDescription}=frontMatter; - console.log(metaDescription) + return ( <>