hextra
hextra copied to clipboard
Make "Edit this page" button always visible
Feature Description
Ability to choose the location of the "Edit this page" link.
Problem/Solution
Currently, below the table of contents in the right side bar, an "Edit this page" button can be displayed. However, this button is not visible if the window is too narrow to display the TOC. Especially on mobile, there is no way to access the "Edit this page" button.
If the location of this button could be freely chosen (e.g. between right side bar, left side bar, navigation bar, bottom of page, ...) it could be configured such that it is always visible/can always be accessed.
Alternatives Considered
Building a custom shortcode to include this link. This would limit its location to the main page content.
Additional Context
Related discussion: #48
Could look like this on the bottom of the page:
Or like this:
Thanks for the suggestion.
I think the second image you posted makes a lot sense. We can make the location configurable.