import old ports from LJ, tweak octopress