made code backwards compatible for lineman-blog