Trim search, archive page

result page of search and archive page -> so now it can show the
results with pages