First steps in cleaning template

So far, listing of projects is readable; 
next steps:  proper search and pagination for listing, and project detail require some cleaning also

is request.path still valid here?