Skip to content

Commit

Permalink
added description prop to books,careers,intergrations,workshops pages
Browse files Browse the repository at this point in the history
Signed-off-by: Mohith234 <[email protected]>
  • Loading branch information
Mohith234 committed Sep 11, 2023
1 parent 3f93e5c commit eb5d40d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/templates/book-single.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ export default BookSinglePage;


export const Head = ({ data }) => {
return <SEO title={data.mdx.frontmatter.title} image={data.mdx.frontmatter.thumbnail.publicURL} />;
return <SEO title={data.mdx.frontmatter.title} image={data.mdx.frontmatter.thumbnail.publicURL} description={data.mdx.frontmatter.abstract}/>;
};
3 changes: 2 additions & 1 deletion src/templates/career-single.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const query = graphql`
title,
type,
location,
abstract,
start_date,
duration,
salary,
Expand Down Expand Up @@ -41,5 +42,5 @@ const CareerSinglePage = ({ data }) => {
export default CareerSinglePage;

export const Head = ({ data }) => {
return <SEO title={data.mdx.frontmatter.title} />;
return <SEO title={data.mdx.frontmatter.title} description={data.mdx.frontmatter.abstract}/>;
};
2 changes: 1 addition & 1 deletion src/templates/integrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ const Integrations = ({ data }) => {
export default Integrations;

export const Head = ({ data }) => {
return <SEO title={data.mdx.frontmatter.title} image={data.mdx.frontmatter.integrationIcon.publicURL} />;
return <SEO title={data.mdx.frontmatter.title} image={data.mdx.frontmatter.integrationIcon.publicURL} description={data.mdx.frontmatter.subtitle}/>;
};
2 changes: 1 addition & 1 deletion src/templates/workshop-single.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ const WorkshopSingle = ({ data }) => {
export default WorkshopSingle;

export const Head = ({ data }) => {
return <SEO title={data.mdx.frontmatter.title} image={data.mdx.frontmatter.thumbnail.publicURL} />;
return <SEO title={data.mdx.frontmatter.title} image={data.mdx.frontmatter.thumbnail.publicURL} description={data.mdx.frontmatter.abstract}/>;
};

0 comments on commit eb5d40d

Please sign in to comment.