Skip to content

Conversation

kungfux
Copy link
Collaborator

@kungfux kungfux commented Sep 5, 2025

Type of change

  • New feature (non-breaking change which adds functionality)

Description

Add "Edit this post" link at the bottom of the post, so it is easier for users to contibute to the blog content.
The feature is disabled by default and should be enabled and configured by editing _data/edit-this-post.yml.

Additional context

Closes #2067

Demo

image

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.

Thanks! This seems like an interesting feature, but blog and documentation websites have different purposes. Most people wouldn't invite others to modify their posts, so the priority for implementing this feature isn't very urgent.

The current PR design, placing new links at the bottom of posts, looks a bit cluttered. I plan to revisit this feature once I have time to think of a cleaner UI layout.

@kungfux
Copy link
Collaborator Author

kungfux commented Oct 14, 2025

Thanks! I mainly wanted to experiment with implementing this feature since there was a request for it. I completely agree with your points, the feature definitely needs some refinement, as you mentioned. I also understand that people might use the theme differently from what was originally intended, so it could still be useful in some cases. Anyway, I'll rely on your decision regarding how to proceed. No hard feelings 😀

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 "Edit this post" link

2 participants