feat: add configurable edit link position

- Add a `where` parameter to `editURL`
- Allow user to choose between `toc` (default) and `single`
- Add to single through last-updated partial
This commit is contained in:
David Legrand
2024-02-13 01:21:09 +01:00
parent 0d6cbba9df
commit 795755bf9b
3 changed files with 22 additions and 2 deletions

View File

@ -142,6 +142,7 @@ params:
editURL:
enable: true
where: "single" # single | toc
base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"
blog: