summaryrefslogtreecommitdiff
path: root/build-system/configure.py
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-07 18:04:18 +0200
committerFlorian Dold <florian@dold.me>2021-05-07 18:04:18 +0200
commit66c705567234ea566d93fb0d59a5872eb12ac826 (patch)
tree9e99e03864b921019bb63e35a8daed0c3db9956e /build-system/configure.py
parent40f0632030361574130fa6b2794d7fccaca4eacb (diff)
downloadwww-66c705567234ea566d93fb0d59a5872eb12ac826.tar.gz
www-66c705567234ea566d93fb0d59a5872eb12ac826.tar.bz2
www-66c705567234ea566d93fb0d59a5872eb12ac826.zip
use i18n logic from site generator
Diffstat (limited to 'build-system/configure.py')
-rw-r--r--build-system/configure.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-system/configure.py b/build-system/configure.py
index 0f9274e4..e1eadc8e 100644
--- a/build-system/configure.py
+++ b/build-system/configure.py
@@ -7,9 +7,9 @@ b.enable_prefix()
b.enable_configmk()
b.use(Option("variant", "Variant (used as output directory)"))
-# Base URL for the site. Per default, the URL is the protocol-relative
-# root path.
-b.use(Option("baseurl", "Base URL that the site will run on", default="//", required=False))
+# Base URL override for the site. The default (empty string)
+# will fall back to the base URL defined www.yml.
+b.use(Option("baseurl", "Override base URL that the site will run on", default="", required=False))
b.use(PythonTool())
b.use(PyBabelTool())