Make the edit this page
button more useful
#37
Closed
hugo-sid
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
Thank you! 👍 I hadn't noticed the edit was disabled. I'll fix this on the next update. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current behavior
Clicking on the 'edit this page' button opens the corresponding Markdown file from the most recent commit.
What's the problem
The edit this file option on GitHub is disabled, when it is opened in the above mentioned manner. So, the purpose (allowing one to edit) is not served.
Expected behavior with example
Consider the URL: https://lotusdocs.dev/docs/guides/features/feedback-widget/
Clicking on the 'edit this page' button opens: https://github.com/colinwilson/lotusdocs.dev/blob/9907176ffb06a0c8652386aa9f72668a90d85bdc/content/docs/guides/features/feedback-widget.md/ - edit option is disabled.
It would be better if the 'edit this page' button opens any of the following links:
Example of Kind 1 link
https://gohugo.io/content-management/organization/#url
Example of Kind 2 link
https://developers.cloudflare.com/workers/platform/limits#log-size
Solution
One possible solution (not tested) can be to use:
Then in
config/_default/params.toml
:Beta Was this translation helpful? Give feedback.
All reactions