[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: Revert "website: Hard-code file:// URL root when GUIX_WEB_SITE_LO
From: |
Ludovic Courtès |
Subject: |
03/06: Revert "website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL." |
Date: |
Thu, 7 Dec 2017 05:16:53 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 31e8b40f3124ee700200546f0fa83e56474b3304
Author: Ludovic Courtès <address@hidden>
Date: Thu Dec 7 10:28:50 2017 +0100
Revert "website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL."
This reverts commit 3c4a4490c62db7e5ac884368760c14c593bf38b3, which
broke navigation of the site served by "haunt serve".
---
website/apps/base/utils.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/apps/base/utils.scm b/website/apps/base/utils.scm
index 7e0a844..e081652 100644
--- a/website/apps/base/utils.scm
+++ b/website/apps/base/utils.scm
@@ -92,7 +92,7 @@
;; If we are trying out the website locally, use "/" as the root.
;; Otherwise use guix-root-url-path for deployment to gnu.org.
(if (getenv "GUIX_WEB_SITE_LOCAL")
- (string-append "file:///tmp/gnu/software/guix/" subpath)
+ (string-append "/" subpath)
(string-append (guix-root-url-path) subpath)))
- branch master updated (ca9c8dc -> a38903c), Ludovic Courtès, 2017/12/07
- 01/06: website: Fix reference to GNU manuals., Ludovic Courtès, 2017/12/07
- 04/06: website: Adjust tags for "Announcing Guix-HPC"., Ludovic Courtès, 2017/12/07
- 06/06: website: Adjust for 0.14.0., Ludovic Courtès, 2017/12/07
- 02/06: website: Show the file name of origin patches., Ludovic Courtès, 2017/12/07
- 05/06: website: Add aarch64 Guix binary downloads., Ludovic Courtès, 2017/12/07
- 03/06: Revert "website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL.",
Ludovic Courtès <=