add blogit-path-to-root to calculate root path