Skip to content

Commit 61d2ec8

Browse files
committed
feat: Display author name instead of source URL for news articles
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
1 parent 1bd3fd8 commit 61d2ec8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/sections/Company/News-single

src/sections/Company/News-single/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const NewsSingle = ({ data, children }) => {
8282
frontmatter.source_url ? (
8383
<div style={{ display: "flex" }}>
8484
<h5>
85-
Originally published at <a href={frontmatter.source_url} target="_blank" rel="noopener noreferrer">{frontmatter.source_url}</a>
85+
Originally published at <a href={frontmatter.source_url} target="_blank" rel="noopener noreferrer">{frontmatter.author}</a>
8686
</h5>
8787
</div>
8888
) : frontmatter.eurl && (

0 commit comments

Comments
 (0)