commit | 8e8e587699edf340ed98ad65070c52f6cfcd7961 | [log] [tgz] |
---|---|---|
author | Luigi Santivetti <luigi.santivetti@gmail.com> | Mon Oct 05 20:21:15 2020 +0100 |
committer | Luigi Santivetti <luigi.santivetti@gmail.com> | Tue Oct 06 22:52:00 2020 +0100 |
tree | 5793ce2d98ebe0afcf587265dacbc53008bdf29f | |
parent | f52ecd34aa5691ae342221af1938654197395fbf [diff] [blame] |
config: add PELICAN_CONTENT Allow the directory contents to be defined in the environment
diff --git a/pelicanconf.py b/pelicanconf.py index 33152b0..d3b4035 100644 --- a/pelicanconf.py +++ b/pelicanconf.py
@@ -26,7 +26,8 @@ THEMEURL = SITEURL # Local path to the markdown source folder -PATH = 'content' +_PATH = os.getenv('PELICAN_CONTENT') +PATH = _PATH # Local path to the current theme folder THEME = 'theme'