[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/29: website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL.
From: |
Ludovic Courtès |
Subject: |
23/29: website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL. |
Date: |
Wed, 6 Dec 2017 09:24:27 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 3c4a4490c62db7e5ac884368760c14c593bf38b3
Author: Ludovic Courtès <address@hidden>
Date: Wed Dec 6 14:05:20 2017 +0100
website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL.
* website/apps/base/utils.scm (guix-url): When GUIX_WEB_SITE_LOCAL,
hard-code the file:// URL.
---
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 e081652..7e0a844 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 "/" subpath)
+ (string-append "file:///tmp/gnu/software/guix/" subpath)
(string-append (guix-root-url-path) subpath)))
- 12/29: website: packages: Mark GNU packages in the listing., (continued)
- 12/29: website: packages: Mark GNU packages in the listing., Ludovic Courtès, 2017/12/06
- 15/29: website: downloads: Change http to https in alpha.gnu.org URL., Ludovic Courtès, 2017/12/06
- 13/29: website: packages: Correctly compute supported systems., Ludovic Courtès, 2017/12/06
- 10/29: website: Use actual GuixSD screenshots., Ludovic Courtès, 2017/12/06
- 17/29: website: base: Change http to https in 'graphics'., Ludovic Courtès, 2017/12/06
- 19/29: website: base: Change URLs in 'data' from http to https., Ludovic Courtès, 2017/12/06
- 06/29: website: packages: Interpret synopsis/description Texinfo., Ludovic Courtès, 2017/12/06
- 21/29: website: packages: Gracefully deal with empty package descriptions., Ludovic Courtès, 2017/12/06
- 24/29: website: packages: Remove links to package issues., Ludovic Courtès, 2017/12/06
- 18/29: website: base: Change some http to https., Ludovic Courtès, 2017/12/06
- 23/29: website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL.,
Ludovic Courtès <=
- 20/29: website: Change http to https in URLs., Ludovic Courtès, 2017/12/06
- 25/29: website: packages: 'all-packages' memoizes its result., Ludovic Courtès, 2017/12/06
- 28/29: website: Insert surrounding spaces when flattening markup., Ludovic Courtès, 2017/12/06
- 29/29: website: Add pseudo-post about GPCE., Ludovic Courtès, 2017/12/06
- 14/29: website: packages: Add a newline between packages., Ludovic Courtès, 2017/12/06
- 09/29: website: packages: Implement patch links., Ludovic Courtès, 2017/12/06
- 16/29: website: base: Change http to https in some URLs on 'contribute'., Ludovic Courtès, 2017/12/06
- 27/29: website: contact: Tweak., Ludovic Courtès, 2017/12/06
- 22/29: website: packages: /packages shows at most 30 packages., Ludovic Courtès, 2017/12/06
- 26/29: website: Unify and rationalize tags for blog posts., Ludovic Courtès, 2017/12/06