struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [1/4] struts-site git commit: Adds link to allow edit page on GitHub
Date Wed, 28 Jun 2017 15:49:16 GMT
Repository: struts-site
Updated Branches:
  refs/heads/master f79613b87 -> c9f61f03d


Adds link to allow edit page on GitHub


Project: http://git-wip-us.apache.org/repos/asf/struts-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-site/commit/ff1e0f8e
Tree: http://git-wip-us.apache.org/repos/asf/struts-site/tree/ff1e0f8e
Diff: http://git-wip-us.apache.org/repos/asf/struts-site/diff/ff1e0f8e

Branch: refs/heads/master
Commit: ff1e0f8ef3a59e923a7cf6d9a18dc643f358f017
Parents: f79613b
Author: Lukasz Lenart <lukasz.lenart@gmail.com>
Authored: Mon Jun 19 08:34:47 2017 +0200
Committer: Lukasz Lenart <lukasz.lenart@gmail.com>
Committed: Mon Jun 19 08:34:47 2017 +0200

----------------------------------------------------------------------
 source/css/custom.css    | 6 +++++-
 source/security/index.md | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-site/blob/ff1e0f8e/source/css/custom.css
----------------------------------------------------------------------
diff --git a/source/css/custom.css b/source/css/custom.css
index a858dba..d8ee911 100644
--- a/source/css/custom.css
+++ b/source/css/custom.css
@@ -33,7 +33,7 @@ a.anchor {
   visibility: hidden;
 }
 
-.edit-on-gh {
+a.edit-on-gh {
   position: absolute;
   right: 0;
   top: 0;
@@ -44,3 +44,7 @@ a.anchor {
   background-color: #AA0000;
   color: #fff;
 }
+
+a.edit-on-gh:hover {
+  color: #fff;
+}

http://git-wip-us.apache.org/repos/asf/struts-site/blob/ff1e0f8e/source/security/index.md
----------------------------------------------------------------------
diff --git a/source/security/index.md b/source/security/index.md
index 3d0665c..f136091 100644
--- a/source/security/index.md
+++ b/source/security/index.md
@@ -5,6 +5,7 @@ title: Security
 
 # Security
 {:.no_toc}
+[Edit on GitHub]({{ site.repository_url }}/edit/master/source/{{ page.path }}){: .edit-on-gh
title="Edit this page on GitHub"}
 
 * Will be replaced with the ToC, excluding a header
 {:toc}


Mime
View raw message