summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-05-02 14:56:50 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-05-02 14:56:50 +0200
commitce2258003b58f050a1c70955a4028de5595e3055 (patch)
tree86a3d8ecaf27fdd56f48c82afac68d6fbe4b9609 /website
parentwebsite: guix-1.0.0: Add 1.0 logo. (diff)
downloadguix-artwork-ce2258003b58f050a1c70955a4028de5595e3055.tar.gz
website: manual-url: Despecialize for guix.info.
* website/apps/base/utils.scm (manual-url): Remove special case when GUIX_WEB_SITE_INFO is set.
Diffstat (limited to 'website')
-rw-r--r--website/apps/base/utils.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/website/apps/base/utils.scm b/website/apps/base/utils.scm
index 340d9b6..bd8f893 100644
--- a/website/apps/base/utils.scm
+++ b/website/apps/base/utils.scm
@@ -113,10 +113,8 @@
A URL path. For example:
/software/guix/manual/en/html_node/System-installation.html."
(string-append
- (guix-url (string-append (if (getenv "GUIX_WEB_SITE_INFO")
- (string-append "manual/" language "/")
- (string-append "manual/" language
- "/html_node/"))
+ (guix-url (string-append (string-append "manual/" language
+ "/html_node/")
subpath))))