hextra icon indicating copy to clipboard operation
hextra copied to clipboard

Make "Edit this page" button always visible

Open jonasreiher opened this issue 1 year ago • 2 comments

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

jonasreiher avatar Jan 04 '24 14:01 jonasreiher

Could look like this on the bottom of the page: Bildschirmfoto 2024-01-15 um 09 42 43

Or like this: Bildschirmfoto 2024-01-15 um 10 25 19

jonasreiher avatar Jan 15 '24 08:01 jonasreiher

Thanks for the suggestion.

I think the second image you posted makes a lot sense. We can make the location configurable.

imfing avatar Jan 15 '24 22:01 imfing