[Replicant] [PATCH] header: Link to current folder for home page links

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Sat Mar 18 12:19:27 UTC 2017


From: Wolfgang Wiedmeyer <wolfgit at wiedmeyer.de>

This allows to host the website in a subfolder.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit at wiedmeyer.de>
Acked-by: Denis 'GNUtoo' Carikli
---
 include/header.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/header.php b/include/header.php
index b6eea32..eb6181c 100644
--- a/include/header.php
+++ b/include/header.php
@@ -28,7 +28,7 @@
 				<span class="icon-bar"></span>
 				<span class="icon-bar"></span>
 			</button>
-			<a class="navbar-brand" href="/"><img src="images/replicant_navigation.png" alt="Replicant" /></a>
+			<a class="navbar-brand" href="./"><img src="images/replicant_navigation.png" alt="Replicant" /></a>
 		</div>
 		<div class="navbar-collapse collapse">
 			<ul class="nav navbar-nav">
@@ -45,7 +45,7 @@
 	<div class="container">
 		<div class="row">
 			<div class="col-md-9">
-				<div class="text-left"><a href="/"><img src="images/replicant.png" alt="Replicant" class="img-responsive" /></a></div>
+				<div class="text-left"><a href="./"><img src="images/replicant.png" alt="Replicant" class="img-responsive" /></a></div>
 				<p>Replicant is a fully free Android distribution running on several devices,<br /><small>a free software mobile operating system putting the emphasis on freedom and privacy/security</small></p>
 
 				<div class="btn-group" style="margin-top: 20px;">
-- 
2.12.0



More information about the Replicant mailing list