[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-web PATCH v2 15/16] Add link to "page source" for all pages
From: |
Daniel P . Berrangé |
Subject: |
[qemu-web PATCH v2 15/16] Add link to "page source" for all pages |
Date: |
Tue, 27 Oct 2020 13:20:14 +0000 |
The link takes the user directly to the source markdown file in gitlab.
This gives them guidance as to what file should be editted to make
changes to the content.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
_includes/footer.html | 3 +++
assets/css/style.css | 6 +++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/_includes/footer.html b/_includes/footer.html
index 5adc569..eeff9a4 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,4 +1,7 @@
<div id="footer">
+ <div id="edit-page">
+ <a
href="https://gitlab.com/qemu-project/qemu-web/-/blob/master/{{page.path}}">page
source</a>
+ </div>
<div id="external-links">
<ul class="style">
<li><a href="http://qemu-advent-calendar.org">Advent
calendar</a></li>
diff --git a/assets/css/style.css b/assets/css/style.css
index 369b57f..96b7737 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -531,7 +531,11 @@
padding-left: 1em;
}
- #licenses, #conservancy {
+ #edit-page {
+ text-align: right;
+ }
+
+ #licenses, #conservancy, #edit-page {
padding: 0em;
padding-left: 1em;
padding-right: 1em;
--
2.26.2
- [qemu-web PATCH v2 06/16] Rework display of screenshots to use a carousel slider, (continued)
- [qemu-web PATCH v2 06/16] Rework display of screenshots to use a carousel slider, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 05/16] Introduce support for "bxslider" jquery add on, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 07/16] Compress the two front page headings into one, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 08/16] Simplify copyright and integrate into footer, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 09/16] Put a full SFC membership blurb in footer of every page, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 10/16] Use two column layout to display screenshots and releases, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 11/16] Bring contribution links out of the footer into the home page, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 12/16] Add recent blog posts to the front page featured content, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 13/16] Move wiki link from footer into the header navbar, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 14/16] Simplify and restructure the page footer, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 15/16] Add link to "page source" for all pages,
Daniel P . Berrangé <=
- [qemu-web PATCH v2 16/16] Add a CONTRIBUTING.md file as guidance for contributors, Daniel P . Berrangé, 2020/10/27