respect limits when truncating URLs

Closes #248

Also modify pod for `render_related_url` to match 40-character limit in code [closes #249]