You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Discussed in #37
Originally posted by hugo-sid August 26, 2023
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
:The text was updated successfully, but these errors were encountered: