Add "Edit this post" link
Checklist
- [X] I have read and accepted the contributing guidelines.
Is your feature request related to a problem? Please describe
The posts offer a "last udpated" information, which is used in "Recently updated". This suggests an easy way to update a post.
Describe the solution you'd like
A user of our page reported
Btw, I would say there need to be some button like "edit this page" to encourage people to contribute.
Source: https://github.com/adr/adr.github.io/pull/63
Just the Docs offers a "Edit this page on GitHub" link:
I would like to have a similar functionality in chirpy.
Describe alternatives you've considered
As of now, one needs to search for relevant files in the repo then make changes. It's not intuitive.
Source: https://github.com/adr/adr.github.io/pull/63
Additional context
No response
This task is quite straightforward. If you require this feature, you can implement it yourself. You just need copy these code into _layouts/post.html, and complete the corresponding section in _config.yml like this.
Of course, you also need to make some adjustments to the style according to your own needs
@huanyushi any reason this should not be part of the upstream?