how to list a posts list without current post in a blog post.

i want to list a blog posts list on a single post page, and dynamic list out current post on list.

{% set rec_posts = blog_recent_posts('default', 5) %}
{% for blog_post in rec_posts %}
 {% if blog_post.absolute_url != request.full_url %} YOUR CONTENT HERE
 {% endif %}
{% endfor %}

You can use an if statement inside your listing loop to check the current loops’ url against the current post page’s url.

Thank you. i’ve solved it. and also i’ve tried other way is same worked.