gist-logs: simplify setting the post path
gist-logs: pull ternary out of hash literal