We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1cbb6cd + cca11fc commit 2b8013fCopy full SHA for 2b8013f
src/sections/Blog/Blog-single/author.js
@@ -19,7 +19,7 @@ const AboutTheAuthor = (props) => {
19
<div className="authors-info-container">
20
<h3>About the Author</h3>
21
<div className="authors-head-shot">
22
- <Link to={`/community/members/${authorInformation.slug}`}>
+ <Link to={`${authorInformation?.fields?.slug}`}>
23
<Image {...authorInformation?.frontmatter?.image_path} imgStyle={{ objectFit: "cover" }} alt={authorInformation.frontmatter?.name} className="authors-image" />
24
</Link>
25
</div>
src/sections/Blog/Blog-single/index.js
@@ -73,6 +73,9 @@ const BlogSingle = ({ data }) => {
73
publicURL
74
}
75
76
+ fields {
77
+ slug
78
+ }
79
80
81
0 commit comments