Pass pg context to render when rendering static pages
commit406a120a54660dd1bf7a4803a1be65526ed6a786
authorMagnus Hagander <magnus@hagander.net>
Fri, 29 Jun 2018 17:40:45 +0000 (29 19:40 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 29 Jun 2018 17:40:45 +0000 (29 19:40 +0200)
tree73267c4976e6cc01f2c6c7199aec18ceaaf676bb
parenta976939fff5e2a6997109ee2e31cd6089cbb3ee4
Pass pg context to render when rendering static pages

This is where we set both the gitrev and the do_esi, both of which are
needed. This means that gitrev has been broken on static pages since
forever - oops.
pgweb/core/views.py