@@ -1,4 +1,7 @@
<div id="footer">
+ <div id="edit-page">
+ <a href="https://gitlab.com/qemu-project/qemu-web/-/blob/master/{{page.path}}">edit this page</a>
+ </div>
<div id="external-links">
<ul class="style">
<li><a href="http://qemu-advent-calendar.org">Advent calendar</a></li>
@@ -102,6 +102,10 @@
/* Footer */
/*********************************************************************************/
+ #edit-page {
+ text-align: right;
+ }
+
#licenses {
float: right;
}
@@ -514,7 +514,7 @@
margin: 0em;
}
- #conservancy, #licenses {
+ #conservancy, #licenses, #edit-page {
padding: 0em;
padding-left: 1em;
padding-right: 1em;
The link takes the user directly to the source markdown file in gitlab, where they can press the "Edit" button and make changes directly in the browser. They will be prompted to fork the project when committing the changes if they don't already have a fork. The result is a commit which can be submitted for review per the contributing guidelines. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> --- _includes/footer.html | 3 +++ assets/css/style-desktop.css | 4 ++++ assets/css/style.css | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-)