copied pelicanconf from master