madhums / node-express-mongoose-demo

A simple demo app using node and mongodb for beginners (with docker)

Home Page:https://nodejs-express-demo.fly.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How ‘createPagination’ comes to be effective?

sunkant opened this issue · comments

commented

I see createPagination in views/articles/index.jade:

    - if (pages > 1)
      ul.pagination
        != createPagination(pages, page)

But I can not find createPagination definition throughout the whole project, I want to ask where createPagination is defined and how it comes to be effective? Thanks.

commented

Thanks a lot. Great projject 💯