Skip to content

Conversation

@igor-baiborodine
Copy link
Collaborator

@igor-baiborodine igor-baiborodine commented May 23, 2025

Issue

This PR addresses issue #698, where author links in quote posts were not working correctly. Previously, the author's name was being automatically converted to a link that pointed to an author page using a pattern like /author/author-name, which wasn't functioning as expected.

Changes

  • Added an optional quoteAuthorLink parameter to quote posts to explicitly define where the author name should link to
  • Updated the quote template to use the provided quoteAuthorLink when available
  • Added the quoteAuthor and quoteAuthorLink fields to the quote archetype for new quote posts
  • Updated example quote posts with appropriate external links to demonstrate proper usage

Benefits

  • Authors of quotes can now be properly linked to external resources (like Wikipedia pages)
  • Improves overall user experience by providing working links for quote attributions
  • Maintains backward compatibility as existing quotes without the authorLink parameter will simply display the author name without a link

Testing

The changes have been tested with the example site to confirm proper functioning of the new authorLink parameter.

@igor-baiborodine igor-baiborodine self-assigned this May 23, 2025
@igor-baiborodine igor-baiborodine merged commit 11e1182 into master May 23, 2025
2 checks passed
@igor-baiborodine igor-baiborodine deleted the fix/issue-698-author-link-in-quote-post branch May 23, 2025 21:28
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.

1 participant