{% assign enabled = site.actions.edit_post.enabled %} {% assign url = site.actions.edit_post.url %} {% assign static_url = site.actions.edit_post.static_url %} {% unless static_url %} {% assign url = url | append: '/' | append: page.path %} {% endunless %} {% if enabled %}
{% assign edit = site.data.locales[include.lang].post.edit %} {{ edit }}
{% endif %}