Skip to content

Conversation

hexwarrior6
Copy link

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (refactoring and improving code)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Description

This pull request introduces a new feature that enables users to repost articles from external sources while ensuring proper attribution to the original content creators. The implementation enhances the post layout to conditionally display original author information and source links when an article is reposted.

Key changes include:

  • Addition of new front matter variables: original_url, original_author, and original_source to capture attribution metadata
  • Modification of the post layout template to render a dedicated attribution section for reposted content, clearly distinguishing it from original posts
  • Inclusion of new localization strings across all 33 supported languages to maintain consistent and accurate attribution messaging in every language
  • Updates to example post documentation to illustrate correct usage of the new front matter variables

This feature ensures that reposted content maintains integrity and proper credit to original authors and publications, aligning with best practices for content sharing and attribution.

image image

Additional context

Copy link
Owner

@cotes2020 cotes2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your willingness to contribute to this project. However, frankly speaking, it seems inappropriate to host other people's posts on our own website. If you wish to share or promote someone else's post, simply share the original link.

@cotes2020 cotes2020 closed this Oct 13, 2025
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.

2 participants