{% set post_url = webnotes.local.request.path + "?view=post&name=" + post.name %} {% set edit_url = webnotes.local.request.path + "?view=edit&name=" + post.name %}