Fix build error
This commit is contained in:
parent
fd0f23e022
commit
c3e4293627
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@ import sys
|
||||||
|
|
||||||
sys.path.append(os.curdir)
|
sys.path.append(os.curdir)
|
||||||
|
|
||||||
from pelicanconf import *
|
try:
|
||||||
|
from pelicanconf import *
|
||||||
|
except ImportError:
|
||||||
|
sys.path.append(os.path.join(os.curdir, "docs"))
|
||||||
|
from pelicanconf import *
|
||||||
|
|
||||||
SITEURL = 'https://flex.alxd.me/'
|
SITEURL = 'https://flex.alxd.me/'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue