Link ejs file to query

#1:page and category