           }
                if (curPage > page) {
                    $("#fyts").val("Exceed the data page");
                    return;
                }
                window.location.href = "/list/{{cat_slug}}/" + curPage + tag;
            });
        </script>
    </div>
</div>
<br>
{% end %}