This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter-content.git


The following commit(s) were added to refs/heads/master by this push:
     new d934474  SLING-8016 - Sling Starter content links are broken when 
running under a context path
d934474 is described below

commit d9344743a8ae7478308e4c626e6d8bc052148432
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Oct 15 17:43:31 2018 +0200

    SLING-8016 - Sling Starter content links are broken when running under a 
context path
    
    Use relative paths instead of absolute ones.
---
 src/main/resources/content/content/starter/index.html | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/resources/content/content/starter/index.html 
b/src/main/resources/content/content/starter/index.html
index fefaef3..3a10e43 100755
--- a/src/main/resources/content/content/starter/index.html
+++ b/src/main/resources/content/content/starter/index.html
@@ -22,17 +22,17 @@
         <meta http-equiv="X-UA-Compatible" content="IE=edge">
         <meta name="viewport" content="width=device-width, initial-scale=1">
         <title>Welcome to the Apache Sling Starter</title>
-        <link href="/content/starter/css/bundle.css" rel="stylesheet">
+        <link href="../content/starter/css/bundle.css" rel="stylesheet">
     </head>
     <body>
         <div class="Grid Fit-Medium Home-Grid">
             <div class="Gradient"></div>
             <header class="Cell Medium-35 Large-25 Align-Center Logos">
                 <a href="http://sling.apache.org"; target="_blank" 
id="sling-logo" title="Visit the Apache Sling website">
-                    <img src="/content/starter/sling-logo.svg" alt="Apache 
Sling Logo"/>
+                    <img src="../content/starter/sling-logo.svg" alt="Apache 
Sling Logo"/>
                 </a>
                 <a href="http://apache.org"; target="_blank" id="asf-logo" 
title="Visit the Apache Software Foundation website">
-                    <img src="/content/starter/img/asf-logo.svg" alt="Apache 
Software Foundation Logo"/>
+                    <img src="../content/starter/img/asf-logo.svg" alt="Apache 
Software Foundation Logo"/>
                 </a>
             </header>
             <div class="Cell Align-Center Main-Content">
@@ -48,7 +48,7 @@
                            repository and web server, a selection of Sling 
components, documentation and examples. 
                            The Starter makes it easy to get started with Sling 
and to develop script-based applications.</p>
                         <h1>Getting Started</h1>
-                        <p>To get started with Sling, see our <a 
href="http://sling.apache.org/"; target="_blank" title="Visit the Apache Sling 
website">website</a>, the <a href="/content/slingshot.html" title="Try the 
Slingshot sample application">Slingshot sample application</a>
+                        <p>To get started with Sling, see our <a 
href="http://sling.apache.org/"; target="_blank" title="Visit the Apache Sling 
website">website</a>, the <a href="../content/slingshot.html" title="Try the 
Slingshot sample application">Slingshot sample application</a>
                            or the <a 
href="http://sling.apache.org/site/discover-sling-in-15-minutes.html"; 
target="_blank">Sling in 15 minutes</a> tutorial.</p>
                         <p>You can mount the repository via WebDAV to explore 
or modify content, simply use the root URL 
                            as the WebDAV server URL.</p>
@@ -56,14 +56,14 @@
                     <div class="Cell Large-15"><!--/* Give the columns a bit 
of space between them. */--></div>
                     <section class="Cell Large-35">
                         <h1>Session</h1>
-                        <h2 id="Login"><a href="/system/sling/login.html" 
title="Login to Apache Sling">Login</a> (admin:admin)</h2>
-                        <h2 id="Logout"><a href="/system/sling/logout" 
title="Logout of Apache Sling">Logout,</a> </h2>
+                        <h2 id="Login"><a href="../system/sling/login.html" 
title="Login to Apache Sling">Login</a> (admin:admin)</h2>
+                        <h2 id="Logout"><a href="../system/sling/logout" 
title="Logout of Apache Sling">Logout,</a> </h2>
                         <h1>Resources</h1>
                         <h2>This Site</h2>
                         <ul>
-                            <li><a href="/bin/browser.html" title="Browse the 
JCR content of this site">Browse Content</a></li>
-                            <li><a href="/system/console/bundles" title="Edit 
the OSGi bundles of this site">System Console</a></li>
-                            <li><a href="/system/console/configMgr" 
title="Edit the OSGi configurations of this site">System Configuration</a></li>
+                            <li><a href="../bin/browser.html" title="Browse 
the JCR content of this site">Browse Content</a></li>
+                            <li><a href="../system/console/bundles" 
title="Edit the OSGi bundles of this site">System Console</a></li>
+                            <li><a href="../system/console/configMgr" 
title="Edit the OSGi configurations of this site">System Configuration</a></li>
                         </ul>
                         <h2>Reference</h2>
                         <ul>

Reply via email to