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

Added author name display to blog #614

Merged
merged 1 commit into from
Dec 29, 2024
Merged

Conversation

vidipsingh
Copy link
Contributor

This PR addresses issue #571 by adding the author's name below the title of blog posts. The author’s name is fetched from the front matter and displayed in the blog layout as "by Author Name."

Changes Made:

  • Added dynamic display for the author name in the blog post layout.
  • The author field in the front matter is now rendered below the post title.
  • Updated CSS classes for styling the author name and post date.

Issue Link:

Closes #571

How to Test:

  1. Add author: "Author Name" to the front matter of any blog post.
  2. Verify that the author's name is correctly displayed below the post title.

Additional Notes:

This implementation improves post attribution by clearly displaying the author's name for each blog post.

Screenshots:

Before:
image
image

After:
image
image

@pikurasa pikurasa merged commit 057e64b into sugarlabs:master Dec 29, 2024
@pikurasa
Copy link
Contributor

@vidipsingh I'm merging it.

In the future, please create a separate branch (not master) and create the PR from that branch.

Also, please include the number of any related issue in the commit message. For this, it would have been "Fixes #571" at the end of your message.

@vidipsingh
Copy link
Contributor Author

@pikurasa Apologies for missing that. I’ll follow the process correctly next time.
Thanks for merging my PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add author name to blogs
2 participants