commit | cbc8fbcfcf0ea5384339dfcc717d35a4965273eb | [log] [tgz] |
---|---|---|
author | Luigi Santivetti <luigi.santivetti@gmail.com> | Sun Jun 07 12:55:49 2020 +0100 |
committer | Luigi Santivetti <luigi.santivetti@gmail.com> | Tue Oct 06 22:52:00 2020 +0100 |
tree | 2528b87c72973089c842a40e9ef82aeabb326f0a | |
parent | d0ad4465bdccc83d8ddf2408da4b7c524879856b [diff] [blame] |
config: get SITEURL from the environment
diff --git a/pelicanconf.py b/pelicanconf.py index d100903..cf02840 100644 --- a/pelicanconf.py +++ b/pelicanconf.py
@@ -19,7 +19,8 @@ INDEX_SAVE_AS = INDEX_LINK_AS # URL path to the root -SITEURL = 'https://www.giggi.me' +_SITEURL = os.getenv('PELICAN_SITEURL') +SITEURL = 'https://' + _SITEURL # URL path to the theme folder THEMEURL = SITEURL