fix merge conflict
do not show anything if not on singular docs
Use WP templating engine. Fixes #23