{% set url = '/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath) %} {{url}} img here

{{post.title}}

{% if post.description %} {{post.description}} {% else %} {{post.content | safe}} {% endif %}