update pelicanconf.py and publishconf.py