Edit On Github
To create a link to edit pages using Github first define the repository url
and edit-path
in your site settings:
[]
= "https://github.com/uwe-app/website/"
= "edit/<branch-name>/"
info
Replace <branch-name>
with your preferred branch name, eg: main
.
Then add a dependency on the std::link plugin and enable the github
feature:
[]
= { = "~1", = ["github"] }
Afterwards you can use the github-edit
partial wherever you want to show the Edit on Github link: