fix Home button to stay within site - e.g., when running under test under 
jekyll serve


Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/commit/898caa46
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/tree/898caa46
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/diff/898caa46

Branch: refs/heads/master
Commit: 898caa4662580930944508bd7233f1398830ff4f
Parents: 927970c
Author: Dale LaBossiere <[email protected]>
Authored: Thu Dec 22 16:57:52 2016 -0500
Committer: Dale LaBossiere <[email protected]>
Committed: Thu Dec 22 16:57:52 2016 -0500

----------------------------------------------------------------------
 site/_includes/header.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/898caa46/site/_includes/header.html
----------------------------------------------------------------------
diff --git a/site/_includes/header.html b/site/_includes/header.html
index 83e2bf8..73a2290 100755
--- a/site/_includes/header.html
+++ b/site/_includes/header.html
@@ -62,7 +62,7 @@ limitations under the License.
                     <span class="icon-bar"></span>
                     <span class="icon-bar"></span>
                 </button>
-                <a class="navbar-brand page-scroll" href="http://{{ 
site.data.project.unix_name }}.incubator.apache.org/#home">Home</a>
+                <a class="navbar-brand page-scroll" href="/#home">Home</a>
             </div>
             <!-- Collect the nav links, forms, and other content for toggling 
-->
             <div class="collapse navbar-collapse" 
id="bs-example-navbar-collapse-1">

Reply via email to